[Haskell-cafe] Filtering a big list into the IO monad
Gabriel Sztorc
lispozord at gmail.com
Thu Aug 3 13:56:35 EDT 2006
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.
More information about the Haskell-Cafe
mailing list