On Mon, 14 Nov 2011 08:06:19 +0000, Simon Peyton-Jones <[email protected]> 
wrote:
> | It would be nice if the compiler could apply SPECIALIZE pragmas
> | recursively. For example, if I have a polymorphic function f which calls
> | polymorphic functions g and h, it would be nice if one could apply a
> | SPECIALIZE pragma to f and have g and h specialized automatically. Just
> | a thought.
> 
> This should already happen, at least if g and h are in the same module as f.
> 
Ahh, fair enough. My apologies for the noise. It would be nice if this
were noted in the documentation.

Cheers,

- Ben


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to