aboutsummaryrefslogtreecommitdiffstats
path: root/generic-iterator.scm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert generic-iterator to allow for any value for iterator-advanceGravatar Peter McGoron 2024-12-241-4/+3
| | | | | | | | | | Scheme is a dynamic language, users should have the freedom to use whatever value they wish to advance the iterator or to use as the index. The implementations of iterator-advance I have written require case analysis anyways, so there is no point to adding a case analysis branch before them.
* make iterator-advance only take integersGravatar Peter McGoron 2024-12-231-10/+17
|
* string-iterator: use external function to simplify iterative application of ↵Gravatar Peter McGoron 2024-12-231-0/+7
| | | | predicate
* refactor iterator to be simplerGravatar Peter McGoron 2024-12-231-82/+24
|
* string iteratorGravatar Peter McGoron 2024-12-231-0/+134