[Haskell-beginners] reverse [1..]
Emanuel Koczwara
poczta at emanuelkoczwara.pl
Tue Dec 18 15:24:56 CET 2012
Hi,
When I run this code in ghci:
reverse [1..]
I get:
<interactive>: out of memory (requested 2097152 bytes)
Can anyone explain this behaviour?
Emanuel
More information about the Beginners
mailing list