[GHC] #10328: Control.Monad exports lead to weird Haddocks

GHC ghc-devs at haskell.org
Mon Apr 20 02:25:41 UTC 2015


#10328: Control.Monad exports lead to weird Haddocks
-------------------------------------+-------------------------------------
              Reporter:  dfeuer      |             Owner:  ekmett
                  Type:  feature     |            Status:  new
  request                            |         Milestone:
              Priority:  normal      |           Version:  7.10.1
             Component:  Core        |  Operating System:  Unknown/Multiple
  Libraries                          |   Type of failure:  Documentation
              Keywords:              |  bug
          Architecture:              |        Blocked By:
  Unknown/Multiple                   |   Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 `Control.Monad` exports, and therefore documents, the `Functor` class (but
 only the `fmap` member) and the `Monad` class. It does not export, and
 therefore does not document, the `Applicative` class. This is all pretty
 weird. Since `Functor` is in the prelude (and probably most/all alternate
 preludes), is there actually a reason to export it from `Control.Monad`?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10328>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list