[Haskell-cafe] Mystery operator?

Daniel Fischer daniel.is.fischer at web.de
Mon Nov 30 13:35:30 EST 2009


Am Montag 30 November 2009 19:32:01 schrieb Brandon S. Allbery KF8NH:
> On Nov 30, 2009, at 13:26 , michael rice wrote:
> > So, ALL patterns are strict, unless one precedes them with "~"?
>
> "case" patterns are strict (this includes pattern matching in function
> arguments).
> "let" patterns are lazy.

And of course, wildcard patterns (_) and variable patterns (var) are lazy too.


More information about the Haskell-Cafe mailing list