- [Class]
accumulation
For each item, generates all items up to and including the current item. The process starts over when all the items have been accumulated.
Examples:
Example 1. One period of an accumulation.
(define x (new accumulation :of '(a b c d))) (next x #t) ⇒ (a a b a b c a b c d)
See also:
- Pattern classes [Topic]