[GHC] #13153: Several Traversable instances have an extra fmap

GHC ghc-devs at haskell.org
Fri Jan 20 13:49:58 UTC 2017


#13153: Several Traversable instances have an extra fmap
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  dfeuer
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Core Libraries    |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 I am very skeptical of adding all these special functions to type classes.
 Should we not improve the optimiser so that users can write normal
 idiomatic definitions without having to understand these intricacies?

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


More information about the ghc-tickets mailing list