[GHC] #5124: Improve documentation for Data.Traversable.fmapDefault
GHC
cvs-ghc at haskell.org
Fri Apr 15 21:37:01 CEST 2011
#5124: Improve documentation for Data.Traversable.fmapDefault
---------------------------------+------------------------------------------
Reporter: byorgey | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/base
Version: 7.0.3 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Documentation bug
---------------------------------+------------------------------------------
Data.Traversable.fmapDefault in fact only works with Traversable instances
which override the definition of traverse, not with instances which only
override sequenceA (although such instances are perfectly valid). I've
attached a patch noting this in the fmapDefault documentation.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5124>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list