Dear list,
If I define two values
val p : type out_channel -> blop -> unit
val e : blop
then I can do something like
Printf.printf "%a" p e
but I can't find a way to do something like
Printf.sprintf "%a" p e
which is not well-typed. Is there any trick that I can use to avoid
changing the type of [p] to [blop -> string]?
Cheers,
Rodolphe
--
Rodolphe Lepigre
LAMA, Université Savoie Mont Blanc, FRANCE
http://lama.univ-smb.fr/~lepigre/
--
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs