Simon Marlow wrote:
> [...] If enough inlining is done, then it should be able to deforest
> the intermediate Rational and generate the same code. [...]

I really doubt that, e.g. GHC doesn't know about the relationships
between the functions in StgPrimFloat.c, PrelFloat.fromRat' is a
rather complex piece of code, etc. So RULES are currently the only
way to go.

Cheers,
   Sven
-- 
Sven Panne                                        Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]            D-80538 Muenchen
http://www.informatik.uni-muenchen.de/~Sven.Panne

Reply via email to