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
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 <> 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?