next up previous contents index
Next: stream Up: Stream Previous: map!   Contents   Index


orbit


Usage

orbit(t, f)


Signature

orbit: (T, T $\to$ T) $\to$ %


Parameter Type Description
t T an element of T
f T $\to$ T a function


Returns

Returns the stream $[t, f(t), f^2(t), \dots]$.


See Also

stream



Manuel Bronstein 2004-06-28