Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
recursive polymorphic variants?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-08-20 (13:50)
From: Alain Frisch <Alain.Frisch@i...>
Subject: Re: [Caml-list] recursive polymorphic variants?
Jon Harrop a écrit :
> As this is a set of values and a value can be a set, there is an obvious 
> recursion. I implemented it by cut and pasting the stdlib code into my own 
> and altering it to have mutually recursive "value set" and "value" comparison 
> functions.

Cannot you use recursive modules?

-- Alain