[GHC] #14107: Implement Semigroup and Monoid instances for the ST monad

GHC ghc-devs at haskell.org
Fri Aug 11 11:10:49 UTC 2017


#14107: Implement Semigroup and Monoid instances for the ST monad
-------------------------------------+-------------------------------------
        Reporter:  plato             |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  8.2.1
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * keywords:   => newcomer


Comment:

 Replying to [ticket:14107 plato]:
 > Since IO implements `Semigroup` and `Monoid`, is there a good reason for
 `ST` not to implement those, too?

 The reason is because no one has asked for them yet :)

 I'd have no issues with a patch that implemented this.

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


More information about the ghc-tickets mailing list