definition:
|
termVars :: PlTerm -> [String]
termVars pterm = case pterm of
PlVar v -> [v]
PlStruct _ ts -> termsVars ts
_ -> []
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- The set of all variables occurring in a Prolog term.
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({PlVar}) |-> {:} || ({PlStruct}) |-> _ || ({PlAtom}) |-> _ || ({PlInt}) |-> _ || ({PlFloat}) |-> _}
|
name:
|
termVars
|
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
|