(*
* Copyright (c) 2013 Jeremy Yallop.
*
* This file is distributed under the terms of the MIT License.
* See the file LICENSE for details.
*)letstring_offormatv=letbuf=Buffer.create 100inletfmt=Format.formatter_of_buffer buf inbegin
format fmt v;Format.pp_print_flush fmt ();Buffer.contents buf
end