CurryInfo: base-3.4.0 / Data.List.intersectBy

definition: Info
 
intersectBy :: (a -> a -> Bool) -> [a] -> [a] -> [a]
intersectBy _  []       _        = []
intersectBy _  (_:_)    []       = []
intersectBy eq xs@(_:_) ys@(_:_) = [x | x <- xs, any (eq x) ys]
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Computes the intersection of two lists
according to the given equivalence relation
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{[]},_) |-> {[]} || (_,{:},{[]}) |-> {[]} || (_,{:},{:}) |-> _}
name: Info
 intersectBy
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (a -> a -> Prelude.Bool) -> [a] -> [a] -> [a]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms