CurryInfo: rewriting-3.0.0 / Rewriting.Position.positions

definition: Info
 
positions :: Term _ -> [Pos]
positions (TermVar _)     = [eps]
positions (TermCons _ ts) = eps:[i:p | (i, t) <- zip [1..] ts,
                                       p <- positions t]
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Returns a list of all positions in a term.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({TermVar}) |-> {:} || ({TermCons}) |-> {:}}
name: Info
 positions
precedence: Info
 no precedence defined
result-values: Info
 {:}
signature: Info
 Rewriting.Term.Term a -> [[Prelude.Int]]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms