[GHC] #8099: Alternate syntax for indicating when a function is "fully applied" for purposes of inlining
GHC
ghc-devs at haskell.org
Sun Jul 28 03:42:56 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 simonpj):
I know; the current story for inlining is a compromise. If people really
want the expressiveness, I'd prefer to do so by changing the existing
INLINE pragma. Something like
{{{
{-# INLINE f (arity 2) #-}
}}}
or
{{{
{-# INLINE (f _ _) #-}
}}}
I don't see this as very high priority, but (everyone) please chime in if
you care.
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8099#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list