| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Language.REST.Internal.Util
Synopsis
- removeEqBy :: Eq a => (a -> a -> Bool) -> [a] -> [a] -> ([a], [a])
Documentation
removeEqBy :: Eq a => (a -> a -> Bool) -> [a] -> [a] -> ([a], [a]) Source #
removeEqBy f xs ys removes elements from xs and ys such that for each
element x removed from xs, an element y is removed from ys such f x y.
In other words in the result (xs', ys'), there does not exist any x in
xs', y in ys' such that f x y.