OverviewClamps PackagesCM DictionaryClamps DictionaryFomus

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

;; 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