[Haskell-beginners] annoying precedence of unary negate

Friedrich Wiemer friedrichwiemer at gmail.com
Mon Apr 28 06:53:14 UTC 2014

> What is comma (as an operator) used for?

it's used to build tuples:

> λ: (,) 4 2
> (4,2)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140428/d0b953d0/attachment.sig>

More information about the Beginners mailing list