Hello Khudyakov, Saturday, February 21, 2009, 2:07:39 AM, you wrote:
> I have another question. Why shouldn't compiler realize that `sum [1..10^9]' > is constant and thus evaluate it at compile time? since we expect that compilation will be done in reasonable amount of time. you cannot guarantee this for list-involving computation -- Best regards, Bulat mailto:bulat.zigans...@gmail.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe