caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* class and printf
@ 2006-10-30 12:42 Anastasia Gornostaeva
  2006-10-30 12:47 ` [Caml-list] " Nicolas Pouillard
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Anastasia Gornostaeva @ 2006-10-30 12:42 UTC (permalink / raw)
  To: caml-list

Hello.

What I need to drink to compile it?

class foo ch =
object
 method myprintf = Printf.fprintf ch
end

The compiler says 
The method myprintf has type ('a, out_channel, unit) format -> 'a where 'a
is unbound



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

end of thread, other threads:[~2006-10-30 13:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-30 12:42 class and printf Anastasia Gornostaeva
2006-10-30 12:47 ` [Caml-list] " Nicolas Pouillard
2006-10-30 13:28   ` Virgile Prevosto
2006-10-30 12:49 ` Jon Harrop
2006-10-30 13:21 ` Jacques Garrigue

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