Difference between revisions of "Talk:GHC/Type families"

From HaskellWiki
Jump to navigation Jump to search
m
m
Line 6: Line 6:
   
 
module GMap (GMapKey(..), GMap(..)) where...: As before, but also exports all the data constructors GMapInt, GMapChar, GMapUnit, GMapPair, and GMapEither.
 
module GMap (GMapKey(..), GMap(..)) where...: As before, but also exports all the data constructors GMapInt, GMapChar, GMapUnit, GMapPair, and GMapEither.
  +
  +
  +
Paragraph 6 is a copy of Paragraph 4 except Collects is used.

Revision as of 10:50, 13 July 2007

In 4.3.2 Examples

module GMap (GMapKey(..), GMap(..)) where...: As before, but also exports all the data constructors GMapInt, GMapChar, GMapUnit, GMapPair, and GMapUnit.

should probably be:

module GMap (GMapKey(..), GMap(..)) where...: As before, but also exports all the data constructors GMapInt, GMapChar, GMapUnit, GMapPair, and GMapEither.


Paragraph 6 is a copy of Paragraph 4 except Collects is used.