[Haskell-cafe] what does the '~' mean ?

Stefan Holdermans stefan at vectorfabrics.com
Fri Apr 16 03:10:02 EDT 2010


Ivan,

>> in `size` function, what does the `~` mean ?

> A lazy pattern match: http://en.wikibooks.org/wiki/Haskell/Laziness
> (there is a better name for it, but I can't remember).

Irrefutable pattern? ;-)

Cheers,

  Stefan


More information about the Haskell-Cafe mailing list