Adding swap to Data.Tuple
roconnor at theorem.ca
roconnor at theorem.ca
Wed Jun 17 20:52:39 EDT 2009
How about this: swap should be lazy because that is how H98 defines
uncurry:
uncurry :: (a -> b -> c) -> ((a, b) -> c)
uncurry f p = f (fst p) (snd p)
--
Russell O'Connor <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''
More information about the Libraries
mailing list