new pragma name ideas? (was: defunctionalization)
nicolas.frisby at gmail.com
Fri Jul 19 00:18:56 CEST 2013
On Thu, Jul 18, 2013 at 5:10 PM, Carter Schonwald <
carter.schonwald at gmail.com> wrote:
> So the idea here to make it possible to have a function that can be
> specialized at certain types, and explicitly inlined at specific use
> sites, but ghc otherwise will not inline it? Cool!
> one thought: might it be simpler to instead have something like
> EXPLICIT-INLINABLE, rather that requiring the juxtaposition of two pragmas
> which "seem" contradictory?
I like that idea. How about SPECIALISABLE? This is a nod to the possibility
that GHC might someday automatically specialize an imported function.
Or EXPOSE? Or EXTERNAL? Bikeshed activate!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs