CurryInfo: prolog-3.0.0 / Language.Prolog.Goodies.termVarOccs

definition:
termVarOccs :: PlTerm -> [String]
termVarOccs pterm = case pterm of
  PlVar v       -> [v]
  PlStruct _ ts -> concatMap termVars ts
  _             -> []
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- The multi-set of all occurrences of variables in a Prolog term.
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({PlVar}) |-> {:} || ({PlStruct}) |-> _ || ({PlAtom}) |-> _ || ({PlInt}) |-> _ || ({PlFloat}) |-> _}
name:
termVarOccs
precedence:
no precedence defined
result-values:
_
signature:
Language.Prolog.Types.PlTerm -> [String]
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms