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

GHC ghc-devs at haskell.org
Mon Jan 26 17:25:26 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 RyanGlScott):

 I can live without the names {{{traceA}}}/{{{traceShowA}}}, but it would
 be nice to generalize the type signatures in the same vein as
 {{{when}}}/{{{unless}}}/{{{guard}}}.

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


More information about the ghc-tickets mailing list