[GHC] #11068: Make Generic/Generic1 methods inlinable

GHC ghc-devs at haskell.org
Thu Aug 4 08:28:50 UTC 2016


#11068: Make Generic/Generic1 methods inlinable
-------------------------------------+-------------------------------------
        Reporter:  glguy             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:  Generics,
                                     |  newcomer, Inlining
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1447
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 There is at least some investigative work to be done. It seems no one has
 checked whether the unfoldings of `from`, `to`, `from1` , `to1` were ever
 making it into the interface files. If they are, then adding an inlinable
 pragma won't achieve anything but if they aren't then it is probably worth
 adding the pragma as Pedro suggested. Feel free to remove the tag if you
 disagree.

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


More information about the ghc-tickets mailing list