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
cyclic types
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-01-29 (12:34)
From: Radu Grigore <radugrigore@g...>
Subject: Re: cyclic types
On Sat, 29 Jan 2005 14:15:43 +0200, Radu Grigore <radugrigore@gmail.com> wrote:
> I was forced to use the definition:
>   type forest = Forest of forest StringMap.t | Empty

I realized now that
  type forest = Forest of forest StringMap.t
works just as well. The code would look a lot like the version I
wanted but it would still have some unnecessary