caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] format strings
@ 2015-02-09 11:58 Jiten Pathy
  2015-02-09 12:25 ` John F Carr
  2015-02-09 17:32 ` David Allsopp
  0 siblings, 2 replies; 10+ messages in thread
From: Jiten Pathy @ 2015-02-09 11:58 UTC (permalink / raw)
  To: caml-list

When i define a wrapper around format functions like

let f s = (fun x -> Printf.sprintf s x);;

val f : ('a -> 'b, unit, bytes) format -> 'a -> 'b = <fun>

I am confused about the inferred type. where does this 'b comes from?

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

end of thread, other threads:[~2015-02-10  8:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-09 11:58 [Caml-list] format strings Jiten Pathy
2015-02-09 12:25 ` John F Carr
2015-02-09 16:28   ` Jiten Pathy
2015-02-09 17:32 ` David Allsopp
2015-02-10  1:05   ` Jiten Pathy
2015-02-10  2:47     ` Jiten Pathy
2015-02-10  7:44       ` David Allsopp
2015-02-10  7:55         ` Jiten Pathy
2015-02-10  8:25           ` David Allsopp
2015-02-10  8:34             ` Jiten Pathy

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).