
3 Aug
2006
3 Aug
'06
1:56 p.m.
Hello, 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 and I couldn't come up with a simple replacement for filterM that would work for lists of any size (the truth is, I can't come up with anything at all :). The question is: how to do it? Any help is appreciated.