definition:
|
goalVars :: PlGoal -> [String]
goalVars pgoal = case pgoal of
PlLit _ ts -> termsVars ts
PlNeg goals -> unionMap goalVars goals
PlCond gs1 gs2 gs3 -> unionMap (unionMap goalVars) [gs1,gs2,gs3]
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- The set of all variables occurring in a Prolog goal.
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({PlLit}) |-> _ || ({PlNeg}) |-> _ || ({PlCond}) |-> _}
|
name:
|
goalVars
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
Language.Prolog.Types.PlGoal -> [String]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
reducible on all ground data terms
|