caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Variant type with 'a type?
@ 2008-06-10  2:29 Robert Fischer
  2008-06-10  2:32 ` [Caml-list] " Robert Fischer
  2008-06-10 12:01 ` Brian Hurt
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Fischer @ 2008-06-10  2:29 UTC (permalink / raw)
  To: caml-list

Is it possible to do a variant type along the lines of "type try = Result of 'a | Exception of exn"?
   When I try that, I get an error saying "Unbound type parameter 'a".

~~ Robert.


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

end of thread, other threads:[~2008-06-10 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-10  2:29 Variant type with 'a type? Robert Fischer
2008-06-10  2:32 ` [Caml-list] " Robert Fischer
2008-06-10 12:01 ` Brian Hurt

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