CurryInfo: call-analysis-3.2.0 / Analysis.insertSemEq

definition: Info
 
insertSemEq :: Ord a => SemEq a -> SemInt a -> SemInt a
insertSemEq x []     = [x]
insertSemEq x (y:ys) | x == y    = y : ys
                     | x <= y    = x : y : ys
                     | otherwise = y : insertSemEq x ys
demand: Info
 argument 3
deterministic: Info
 deterministic operation
documentation: Info
 
Generic ordered insertion of semantic equations into an interpretation.
The first argument is some ordering on terms (compatible with the
information ordering on terms). An equation is not inserted
if it is already there, i.e., the interpretation is managed as a set.
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,{[]}) |-> {:} || (_,_,{:}) |-> {:}}
name: Info
 insertSemEq
precedence: Info
 no precedence defined
result-values: Info
 {:}
signature: Info
 Prelude.Ord a => 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