[Haskell-cafe] Announce: ghc-core, command line pager for reading GHC Core

Henning Thielemann lemming at henning-thielemann.de
Fri May 23 15:24:30 EDT 2008


On Fri, 23 May 2008, Bulat Ziganshin wrote:

> Hello Henning,
>
> Friday, May 23, 2008, 8:31:24 PM, you wrote:
>
>> would guarantee speed in every case. Or I can SPECIALISE the function,
>> then the function will only be called, but with polymorphism overhead
>> eliminated. This would only work for a restricted range of types. I'd like
>> to have a pragma, that tells GHC to specialise a function for every type
>> it is called with.
>
> me too. btw, this already present in jhc. inlining doesn't work in any
> complex case since recursive functions can't be inlined

GHC inlines recursive functions, too, otherwise it could not turn 'foldl' 
and friends into plain machine loops.


More information about the Haskell-Cafe mailing list