Hello,

My space problems continued...

I have foldl that produces list, some combining function and quite large source list:

let xyz = foldl f state myBigList

This setting should lazyli consume myBigList when next elements of xyz are demanded. Except that it seems that myBigList is held by state to the end of computation :(

Question: is there any way to see what is holding my source list? I did try to guess, but without results as of now:(

How do I debug and/or reason about such situation?

--
Gracjan

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to