[GHC] #15737: Implement sconcat Semigroup Instances for Tuples

GHC ghc-devs at haskell.org
Wed Oct 10 20:00:11 UTC 2018


#15737: Implement sconcat Semigroup Instances for Tuples
-------------------------------------+-------------------------------------
           Reporter:  andrewthad     |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.6.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 For some semigroups, the user-defined `sconcat` performs asymptotically
 better than the default. The semigroup instances for tuples should create
 a list of each component individually, use `sconcat` for the underlying
 type, and then zip the tuples back together.

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


More information about the ghc-tickets mailing list