Gabriel Sztorc wrote: > I want to filter a list with a predicate that returns a IO value, > something that filterM is supposed to do. The problem is, filterM > overflows the stack for really big lists
Are you sure it's filterM's fault? Can you post the code in question? Stack overflows are usually caused by too much lazyness, but for filterM that doesn't seem to make sense. Udo. -- <xinkeT> "Lord grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to hide the bodies of the people I had to kill because they pissed me off."
signature.asc
Description: Digital signature
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe