Browse thread
Unexpected restriction in "let rec" expressions
[
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: | Dirk Thierbach <dthierbach@g...> |
| Subject: | Re: [Caml-list] Unexpected restriction in "let rec" expressions |
On Tue, Feb 26, 2008 at 01:24:57PM +0100, Loup Vaillant wrote: > I was trying to translate this simple Haskell definition in Ocaml: > > loop :: ((a,c) -> (b,c)) -> a -> b > loop f a = b > where (b,c) = f (a,c) How do you expect that to work under strict instead of lazy evaluation? :-) - Dirk