CurryInfo: rewriting-3.0.0 / Rewriting.Term.isNormal

definition: Info
 
isNormal :: Term _ -> Bool
isNormal (TermVar _)         = True
isNormal (TermCons _ [])     = True
isNormal (TermCons c (t:ts)) = case t of
  TermVar _    -> all isVarTerm ts
  TermCons _ _ -> isNormal t && isNormal (TermCons c ts)
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Checks whether a term is normal (behind a variable is not a constructor).
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({TermVar}) |-> {True} || ({TermCons}) |-> _}
name: Info
 isNormal
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Term a -> Prelude.Bool
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms