SRFI 158 (MIT/GNU Scheme 12.0.90)

Next: SRFI 162: Comparators sublibrary, Previous: SRFI 143: Fixnums, Up: Standards Support [Contents][Index]

### 18.21 SRFI 158: Generators and Accumulators

Description Efficient sources and sinks of objects. URL https://srfi.schemers.org/srfi-158/srfi-158.html Support Fully supported. Libraries `(srfi 158)` Global All names are bound in the MIT/GNU Scheme global environment.

`bytevector->generator` | `bytevector-accumulator`
`bytevector-accumulator!` | `circular-generator`
`count-accumulator` | `gappend`
`gcombine` | `gcons*`
`gdelete` | `gdelete-neighbor-dups`
`gdrop` | `gdrop-while`
`generator` | `generator->list`
`generator->reverse-list` | `generator->string`
`generator->vector` | `generator->vector!`
`generator-any` | `generator-count`
`generator-every` | `generator-find`
`generator-fold` | `generator-for-each`
`generator-map->list` | `generator-unfold`
`gfilter` | `gflatten`
`ggroup` | `gindex`
`gmap` | `gmerge`
`gremove` | `gselect`
`gstate-filter` | `gtake`
`gtake-while` | `list->generator`
`list-accumulator` | `make-accumulator`
`make-coroutine-generator` | `make-for-each-generator`
`make-iota-generator` | `make-range-generator`
`make-unfold-generator` | `product-accumulator`
`reverse-list-accumulator` | `reverse-vector->generator`
`reverse-vector-accumulator` | `string->generator`
`string-accumulator` | `sum-accumulator`
`vector->generator` | `vector-accumulator`
`vector-accumulator!`