darcs patch: Add equating p x y = p x == p y
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Wed Oct 11 10:17:12 EDT 2006
Wed Oct 11 15:14:32 BST 2006 Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
* Add equating p x y = p x == p y
Just as useful as the 'comparing' function from Data.Ord,
but for cases where we check equality rather than ordering.
Use like: groupBy (equating fst)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 35105 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/libraries/attachments/20061011/d85076d5/attachment-0001.bin
More information about the Libraries
mailing list