On 9/19/07, Roberto Zunino <[EMAIL PROTECTED]> wrote:
> Henning Thielemann wrote:
> > Then why are patterns in lambdas not lazy?
>
> Because they should allow for more branches! ;-))
>
> null = \ [] -> True
>           _  -> False

See http://hackage.haskell.org/trac/haskell-prime/ticket/114 for a
relevant proposal for Haskell Prime regarding something like this.

Bas
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to