Browse thread
cyclic types
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-01-30 (06:05) |
From: | Radu Grigore <radugrigore@g...> |
Subject: | Re: [Caml-list] cyclic types |
On Sun, 30 Jan 2005 00:47:23 +0100, Damien Doligez <damien.doligez@inria.fr> wrote: > IIRC, rectypes are off by default because they trade a small increment > in expressive power for a large degradation of the intelligibility of > type-checking error messages. I don't think they are dangerous in the > sense of breaking the type system. Thank you. Only one (small) problem remains. I do not understand this: # type t = t StringMap.t option;; The type abbreviation t is cyclic # type t = Some of t StringMap.t | None;; type t = Some of t StringMap.t | None -- regards, radu http://rgrig.idilis.ro/