CurryInfo: call-analysis-3.2.0 / Analysis.updateSemEq

definition: Info
 
updateSemEq :: Ord a => (SemEq a -> SemEq a -> Bool)
                     -> SemEq a -> SemInt a -> SemInt a
updateSemEq _              x []     = [x]
updateSemEq lessSpecificEq x (y:ys)
 | x == y             = y : ys
 | lessSpecificEq y x = updateSemEq lessSpecificEq x ys
 | lessSpecificEq x y = y : ys
 | x <= y             = x : y : ys
 | otherwise          = y : updateSemEq lessSpecificEq x ys
demand: Info
 argument 4
deterministic: Info
 deterministic operation
documentation: Info
 
Generic ordered insertion of semantic equations into an interpretation
where existing equations with less information are removed from the
interpretation. Thus, the resulting interpretation contains
equations with more specific abstract values.
First argument: ordering relation on abstract terms (used to order
                all equations of the interpretation)
Second argument: less-specific ordering on equations
failfree: Info
 (_, _, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,{[]}) |-> {:} || (_,_,_,{:}) |-> {:}}
name: Info
 updateSemEq
precedence: Info
 no precedence defined
result-values: Info
 {:}
signature: Info
 Prelude.Ord a => (SemEq a -> SemEq a -> Prelude.Bool) -> SemEq a -> [SemEq a]
-> [SemEq a]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term