#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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs