@@ -39,7 +39,7 @@ isElem x (y :: xs) with (decEq x y)
40||| The intersectBy function returns the intersect of two lists by user-supplied equality predicate.
40||| The intersectBy function returns the intersect of two lists by user-supplied equality predicate.
41intersectBy : (a -> a -> Bool) -> List a -> List a -> List a
41intersectBy : (a -> a -> Bool) -> List a -> List a -> List a
42−intersectBy eq xs ys = [x | x <- xs, any (eq x) ys]
42+intersectBy eq xs ys = [x | x <- xs, any (eq x) ys]
44||| Compute the intersection of two lists according to their `Eq` instance.
44||| Compute the intersection of two lists according to their `Eq` instance.