[Haskell-cafe] Why isn't pattern matching lazy by default?
Roberto Zunino
zunino at di.unipi.it
Wed Sep 19 12:49:22 EDT 2007
Henning Thielemann wrote:
> Then why are patterns in lambdas not lazy?
Because they should allow for more branches! ;-))
null = \ [] -> True
_ -> False
--
Zun.
More information about the Haskell-Cafe
mailing list