[GHC] #8099: Alternate syntax for indicating when a function is "fully applied" for purposes of inlining

GHC ghc-devs at haskell.org
Fri Aug 2 13:37:30 CEST 2013


#8099: Alternate syntax for indicating when a function is "fully applied" for
purposes of inlining
-------------------------------------+------------------------------------
        Reporter:  jberryman         |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by basvandijk):

 > Can I encourage the other cc folks to say what their use-case is

 I remember that by eta abstracting the definitions in
 [http://hackage.haskell.org/packages/archive/vector/0.10.0.1/doc/html
 /Data-Vector-Generic.html Data.Vector.Generic] I could really speedup the
 [https://github.com/basvandijk/vector-
 bytestring/blob/master/bench/bench.hs benchmarks] in `vector-bytestring`.

 If there's some nice syntax to make eta conversion easier it would be
 cheaper to make this change.

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




More information about the ghc-tickets mailing list