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

definition:
argsOf :: PlTerm -> [PlTerm]
argsOf pterm = case pterm of
  PlStruct _ args -> args
  _               -> []
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- The arguments of a Prolog term.
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({PlStruct}) |-> _ || ({PlVar}) |-> _ || ({PlAtom}) |-> _ || ({PlInt}) |-> _ || ({PlFloat}) |-> _}
name:
argsOf
precedence:
no precedence defined
result-values:
_
signature:
Language.Prolog.Types.PlTerm -> [Language.Prolog.Types.PlTerm]
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms