add superclasses to Applicative and Traversable
authorRoss Paterson <ross@soi.city.ac.uk>
Tue, 11 Apr 2006 14:47:34 +0000 (14:47 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Tue, 11 Apr 2006 14:47:34 +0000 (14:47 +0000)
commit0f7f84221836acde80b6337ef2e51d6508f73f7f
treeb3d4d68c3ed1f69730a90d4998e4443acd5ed5c2
parent4d6fe46a37ba0e82c4182cd26a9e89a258b0c6df
add superclasses to Applicative and Traversable

Functor is now a superclass of Applicative, and Functor and Foldable
are now superclasses of Traversable.  The new hierarchy makes clear the
inclusions between the classes, but means more work in defining instances.
Default definitions are provided to help.
Control/Applicative.hs
Data/Map.hs
Data/Sequence.hs
Data/Traversable.hs
Data/Tree.hs