Hi,

Just a small comment on one of the comments.

On 5/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Also, rather than this:

    add :: Bloom a -> a -> Bloom a

a better argument order is this:

    insert :: a -> Bloom a -> Bloom a

That way, you can use it with foldr.

Hmmm. If you want to create a Bloom using a fold wouldn't it make more
sense to use foldl'? I think the argument order is fine.

Cheers,

Josef
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to