accumulation

[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:

- `cycle``` [Class]
- `funcall``` [Class]
- `graph``` [Class]
- `heap``` [Class]
- `join``` [Class]
- `line``` [Class]
- `markov``` [Class]
- `palindrome``` [Class]
- `random``` [Class]
- `range``` [Class]
- `rewrite``` [Class]
- `rotation``` [Class]