Mon, 29 Jan 2001 18:15:02 +0100, Jan Kort <[EMAIL PROTECTED]> pisze:

> I didn't use any optimizations, but I am sure that
> passing -O to ghc will make it see that 1*1*... is a
> constant expression.

It does not, because it's n*1*1*1*... where n is not a constant.
Major advantages seem to be from the strictness analysis.

-- 
 __("<  Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTÊPCZA
QRCZAK


_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to