Adding swap to Data.Tuple

roconnor at roconnor at
Wed Jun 17 20:52:39 EDT 2009

How about this: swap should be lazy because that is how H98 defines 

uncurry          :: (a -> b -> c) -> ((a, b) -> c)
uncurry f p      =  f (fst p) (snd p)

Russell O'Connor                                      <>
``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