Version française
Home     About     Download     Resources     Contact us    
Browse thread
Help me find this pdf
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Help me find this pdf
On Thursday 18 October 2007 13:46:10 you wrote:
> From: Jon Harrop <jon@ffconsultancy.com>
> > Scala can do something similar by controlling evaluation simply by
> > altering the signature. However, I've reviewed Haskell recently and I
> > think complete laziness is more of a hindrance than a benefit. The only
> > think I'd like to see added to eager FPLs is the ability to pattern match
> > over lazy values, forcing them only when necessary.
>
> What! You want Caml V3.1 (released in 1991 IIRC)!
> I remember writing a lazy prolog interpreter using this feature.
>
> Lazyness in ocaml works too, but it's more verbose.

How do you pattern match over lazy values in OCaml? If I've missed that, it 
would be really cool to find out! :-)

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e