CurryInfo: rewriting-3.0.0 / Rewriting.Term.minVarInTerm

definition:
minVarInTerm :: Term _ -> Maybe VarIdx
minVarInTerm t = case tVars t of
                   []       -> Nothing
                   vs@(_:_) -> Just (minimum vs)
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Returns the minimum variable in a term or `Nothing` if no variable exists.
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> {Just,Nothing}}
name:
minVarInTerm
precedence:
no precedence defined
result-values:
{Just,Nothing}
signature:
Term a -> Prelude.Maybe Prelude.Int
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term