Pair handling combinators

Stefan Holdermans stefan at cs.uu.nl
Sun Oct 22 13:33:17 EDT 2006


Arie,

>>> swap (x,y) = (y,x)

>> swap = flip (,)

> :p

Not quite:

   swap = uncurry (flip (,))

;)

Cheers,

   Stefan


More information about the Libraries mailing list