[GHC] #10023: Relax Monad constraint in traceM and traceShowM to Applicative

GHC ghc-devs at haskell.org
Mon Jan 26 17:06:59 UTC 2015


#10023: Relax Monad constraint in traceM and traceShowM to Applicative
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  libraries/base    |                 Version:  7.10.1-rc1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Other             |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by ekmett):

 We've adopted the practice of generalizing the existing fooM Combinators
 in base where possible as part of 7.10 but not giving a new set of fooA
 names to avoid namespace pollution, needless constraints and a complex
 deprecation cycle. It seemed the lesser of evils was to generalize the M
 suffix than ask literally everyone to retool.

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


More information about the ghc-tickets mailing list