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

#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

#15737: Implement sconcat Semigroup Instances for Tuples -------------------------------------+------------------------------------- Reporter: andrewthad | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.1 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 bgamari): Do send a patch! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15737#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC