[Haskell-cafe] Rewrite rules

George Pollard porges at porg.es
Thu Oct 16 05:53:08 EDT 2008


On Thu, 2008-10-16 at 09:01 +0100, Ryan Ingram wrote:
> Isn't this an unsound rewrite?

Yeah, hence the just for fun :)

> Anyways, the reason for inlining not being done if an expression is
> used more than once is that it duplicates work that you explicitly
> specified should only be done once (by placing it in a let).

Okay, thanks :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20081016/420321a9/attachment.bin


More information about the Haskell-Cafe mailing list