caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* polymorphic variants, long form
@ 2009-01-20 17:37 Jacques Carette
  2009-01-20 17:39 ` [Caml-list] " Luc Maranget
  0 siblings, 1 reply; 4+ messages in thread
From: Jacques Carette @ 2009-01-20 17:37 UTC (permalink / raw)
  To: caml-list

What is the proper 'long name' of a polymorphic variant?
module S = struct type a = [`Foo of int] end

How do I refer to `Foo without opening S?  Both S.`Foo and `S.Foo are 
syntax errors.

Jacques


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

end of thread, other threads:[~2009-01-21  9:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-20 17:37 polymorphic variants, long form Jacques Carette
2009-01-20 17:39 ` [Caml-list] " Luc Maranget
2009-01-20 18:04   ` Jacques Carette
2009-01-21  9:39     ` Romain Bardou

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