Hello,

Here you try to reverse infinite list. What do you expect to get?


2012/12/18 Emanuel Koczwara <poczta@emanuelkoczwara.pl>
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



_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners