G'day all.

Quoting Matthew Brecknell <[EMAIL PROTECTED]>:

> Although it covers irrefutable (lazy) pattern matching in the second
> section, it does appear to miss the point that let bindings are always
> irrefutable.
>
> Thus, there is no difference between these two:
>
> let (x,y) = foo in ...
> let ~(x,y) = foo in ...

let (x,()) = (1,undefined) in x
let (x,~()) = (1,undefined) in x

Cheers,
Andrew Bromage
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to