CurryInfo: call-analysis-3.2.0 / TRS.funcsInTerm

definition:
funcsInTerm :: Term -> [String]
funcsInTerm (Var _) = []
funcsInTerm (Func ft f args) = let argfuns = concatMap funcsInTerm args in
  if ft==Def then f : argfuns else argfuns
demand:
argument 1
deterministic:
deterministic operation
documentation:
-- get all operations occurring in term:
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({Var}) |-> {[]} || ({Func}) |-> _}
name:
funcsInTerm
precedence:
no precedence defined
result-values:
_
signature:
Term -> [String]
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms