caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] signature of a lazy Printf.sprintf-like
@ 2013-12-25  3:03 Francois Berenger
  2013-12-25 14:38 ` Simon Cruanes
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Berenger @ 2013-12-25  3:03 UTC (permalink / raw)
  To: caml-list

Hello,

Is is possible to create a sprintf which is lazy?

Especially, I don't know what signature it should have
in the .mli file.

I am fighting with types because the function
is supposed to accept a variable number of parameters
after the format string.
If I manage to create a compilable signature, then
I cannot any-more use a variable number of parameters.

Merry Christmas,
Francois.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-25 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-25  3:03 [Caml-list] signature of a lazy Printf.sprintf-like Francois Berenger
2013-12-25 14:38 ` Simon Cruanes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).