Version française
Home     About     Download     Resources     Contact us    
Browse thread
]Caml-list] Types
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: ]Caml-list] Types
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