Streams
5 pages
Core
Stream primitives: `done`/`more`/`fromList`/`iterate`/`range`/`replicate` — constructors for lazy `Step`-tagged streams composed via bind.
Transform
Stream transformations: `map`/`filter` plus `scanl`/`flatMap` — pure rewrites that produce new streams from existing ones.
Limit
Stream limiting: `take`/`takeWhile`/`drop` — bound stream length by count or predicate.
Combine
Stream combination: `concat`/`interleave`/`zip`/`zipWith` — merge two streams sequentially, alternately, or positionally.
Reduce
Stream reduction: `fold`/`toList`/`length`/`sum`/`signal`/`signalOn`/`any`/`all` — terminal operations that consume a stream into a single computation.