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 (17:33)
From: Radu Grigore <radugrigore@g...>
Subject: Re: [Caml-list] cyclic types
On Sat, 29 Jan 2005 09:12:59 -0800 (PST), brogoff <brogoff@speakeasy.net> wrote:

> This comes up relatively frequently, and it is known that having -rectypes
> as the default is not a good idea. However, wouldn't explicit typing of
> this case sidestep the known problems and eliminate the need for a
> -rectypes option here?

For now I have setteled for
  type forest = Forest of forest StringMap.t

Can you give an example of why rectypes by default is dangerous?