[Haskell-beginners] populating a bloom filter; stymied by ST monad

Chaddaï Fouché chaddai.fouche at gmail.com
Tue Mar 13 10:18:14 CET 2012


getValues update initial = go initial =<< gen
       where
               go v [] = return v
               go v (f:fs) = do

You say that this stream lazily, so I deduce that gen produce a lazy
IO list. So you should be able to use gen in conjunction with easyList
to get your bloom filter lazily. I'm not sure what the problem is ?
How exactly do you get the elements of your bloom filter from gen
input ?

-- 
Jedaï



More information about the Beginners mailing list