caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ]Caml-list] Types
@ 2005-06-19  6:42 Jonathan Roewen
  2005-06-19  7:09 ` [Caml-list] " Michael Wohlwend
  2005-06-19 15:37 ` Eric Cooper
  0 siblings, 2 replies; 4+ messages in thread
From: Jonathan Roewen @ 2005-06-19  6:42 UTC (permalink / raw)
  To: caml-list

Hi,

Is it possible to create a record type that has a member which is a
polymorphic type?

I tried: type rect = { mutable x1: 'a; ... } but that doesn't work.
Also, type a = A of 'a doesn't seem to work either.

Jon


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

end of thread, other threads:[~2005-06-19 18:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-19  6:42 ]Caml-list] Types Jonathan Roewen
2005-06-19  7:09 ` [Caml-list] " Michael Wohlwend
2005-06-19 15:37 ` Eric Cooper
2005-06-19 18:09   ` padiolea

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