Proposal: Add Foldable and Traversable instances for ((,) a)

Yitzchak Gale gale at
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...

More information about the Libraries mailing list