import { MiniRepl } from './MiniRepl'; The following is generated from the source documentation. ## TOC ## Pattern Factories The following functions will return a pattern. We will see later what that means. ### pure
A discrete value that repeats once per cycle:
**Parameters** - value (any): The value to repeat **Examples**Concatenation: combines a list of patterns, switching between them successively, one per cycle:
synonyms: cat
**Parameters** - items (any): The items to concatenate **Examples**Concatenation: as with slowcat, but squashes a cycle from each pattern into one cycle
**Parameters** - items (any): The items to concatenate **Examples**The given items are played at the same time at the same length:
**Parameters** - items (any): The items to stack **Examples**Like fastcat, but where each step has a temporal weight:
**Parameters** - items (Array): The items to concatenate **Examples**Slow down a pattern over the given number of cycles.
**Parameters** - factor (number|Pattern): slow down factor **Examples**Speed up a pattern by the given factor.
**Parameters** - factor (number|Pattern): speed up factor **Examples**