FoldA package:ListLike

This is the primary class for structures that are to be considered foldable. A minimum complete definition provides foldl and foldr. Instances of FoldableLL can be folded, and can be many and varied. These functions are used heavily in Data.ListLike.
Generic tools for data structures that can be folded. Written by John Goerzen, jgoerzen@complete.org