[clean-list] hd (drop 1000000 [1..]) heapFull

zuurb078 at planet.nl zuurb078 at planet.nl
Fri Jul 19 16:41:45 MEST 2013


Start = hd (drop 1000000 [1..])
with standard heap (2M) leads to a heapfull message; not when I only drop 1000.
 
I had expected the garbage collector to kick in so this would effectively run in constant space
Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/clean-list/attachments/20130719/f072209a/attachment.html>


More information about the clean-list mailing list