Citrine/EN | Manual

[ Object ] recursive.

☞ r ≔ Object new.
r on: ‘∞’ do: { :x
✎ write: x, stop.
(x < 3) true: { ⛏ recursive ∞ (x + 1). }.
}.
r ∞ 1.
1
2
3