Proposal: Add Foldable and Traversable instances for ((,) a)
Yitzchak Gale
gale at sefer.org
Tue Jun 23 10:42:12 EDT 2009
Oops, correcting cut-and-paste error:
Documentation for foldMapDefault:
-- This function should be equivalent to `foldMap` in
-- the `Foldable` superclass instance. If you do not
-- already have a `Foldable` instance, you
-- can use this function to define one:
--
-- > instance Foldable T where
-- > foldMap = foldMapDefault
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/libraries/attachments/20090623/b95d1eec/attachment.html
More information about the Libraries
mailing list