aboutsummaryrefslogtreecommitdiffstats
path: root/mcgoron.iterator.string.scm (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-12-25use records as exceptionsGravatar Peter McGoron 1-5/+9
2024-12-24Revert generic-iterator to allow for any value for iterator-advanceGravatar Peter McGoron 2-4/+5
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.
2024-12-23make iterator-advance only take integersGravatar Peter McGoron 1-10/+17
2024-12-23string-iterator: use external function to simplify iterative application of ↵Gravatar Peter McGoron 3-41/+46
predicate
2024-12-23refactor iterator to be simplerGravatar Peter McGoron 4-215/+98