[Haskell-cafe] nubBy changed?

Tim Newsham newsham at lava.net
Sun Mar 1 19:30:34 EST 2009

Did nubBy change recently?  In 6.8.2 I could generate primes as:

    nubBy (\a b -> b `mod` a == 0) [2..]

but in 6.10.1 I have to use

    nubBy (\a b -> a `mod` b == 0) [2..]

Is this change intentional?  If so, what is the reason?

Tim Newsham

More information about the Haskell-Cafe mailing list