[GHC] #11650: Documentation does not mention that default definitions for Alternative(some, many) can easily blow up

GHC ghc-devs at haskell.org
Fri Feb 26 17:28:13 UTC 2016


#11650: Documentation does not mention that default definitions for
Alternative(some, many) can easily blow up
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Documentation     |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ekmett):

 The only reason it doesn't have `Alternative` and `MonadPlus` instances is
 that I didn't think of them! (Similarly, `MonadZip`)

 I have absolutely no objection to adding them. If someone concocts a patch
 to add them to `base`, I'll readily retroactively add them to the `tagged`
 package, and Ryan can incorporate backports of them into `base-orphans`.

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


More information about the ghc-tickets mailing list