definition:
|
seqRStrategy :: Eq f => (Pos -> Pos -> Ordering) -> RStrategy f
seqRStrategy cmp trs t = case redexes trs t of
[] -> []
ps@(_:_) -> [minimumBy cmp ps]
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Returns a sequential reduction strategy according to the given ordering
--- function.
|
failfree:
|
<FAILING>
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_,_,_) |-> {:,[]}}
|
name:
|
seqRStrategy
|
precedence:
|
no precedence defined
|
result-values:
|
{:,[]}
|
signature:
|
Prelude.Eq a => ([Prelude.Int] -> [Prelude.Int] -> Prelude.Ordering)
-> [(Rewriting.Term.Term a, Rewriting.Term.Term a)] -> Rewriting.Term.Term a
-> [[Prelude.Int]]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|