[
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: | -- (:) |
| From: | Damien Doligez <Damien.Doligez@i...> |
| Subject: | Re: variables in 'let rec' |
>From: Max Skaller <maxs@in.ot.com.au> > >Alternatively, you can just use > > let rec x' () = ... > and ... > let x = x() > >in lieu of what you really wanted: (that is, >there is a workaround). But that doesn't work for "let rec x = 1 :: x", which is the most interesting feature of O'Caml's recursive value definitions. -- Damien