Hi Bjarte, I've applied your fix and am copying this message to Kevin Hammond (the current library Czar). Alastair > Hi > > I just fetched the hugs.tar.gz (Hugs BETA97103) from haskell.org and > noticed that a small bug in lib/List.hs hasn't been corrected, see > attached emails about the same (and other) problem in GHC. Summary: > In Hugs the exports are okay, but `List.unionBy' must be patched to > this: > > unionBy :: (a -> a -> Bool) -> [a] -> [a] -> [a] > unionBy eq xs ys =3D xs ++ foldl (flip (deleteBy eq)) (nubBy eq ys) xs > -- new code: ^^^^^^^^^^^^^ > -- old code: ys > > Sigbj=F8rn's reply also went to John Peterson, but since haskell.org was > down at the time he may not have received it. But since this is > actually a bug in the 1.4 Library Report correcting it would mean > giving up compliance... :-) > > Bjarte > -- > Bjarte M. �stvold [EMAIL PROTECTED] > Dept. of Computer and Information Science +47 73 59 44 83 (tel) > Norwegian Univ. of Science and Technology +47 73 59 44 66 (fax) > Gl�shaugen, N-7034 Trondheim, Norway
