English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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