diff options
| author | 2024-12-28 21:27:24 -0500 | |
|---|---|---|
| committer | 2024-12-28 21:27:24 -0500 | |
| commit | e9c8de093bac0697c41a9e01542163de1d6cbb1c (patch) | |
| tree | 8ec23ce11a7500bec4ebdc2890ed8284fc7b9ae5 /tests/string.scm | |
| parent | refactor tests, add working code for list (diff) | |
refactor iterators to be closure objects
This makes iterators much more flexible while keeping their abstract
nature. New iterators can be made by a programmer with different
methods.
Existing iterator types cannot be programatically extended. This
would likely require implementation support: either CLOS-style
classes or a more limited single-dispatch interface system.
Diffstat (limited to '')
| -rw-r--r-- | tests/string.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/string.scm b/tests/string.scm index bf89662..d3ab241 100644 --- a/tests/string.scm +++ b/tests/string.scm @@ -12,7 +12,8 @@ | See the License for the specific language governing permissions and | limitations under the License. |# -(import (mcgoron iterator string)) +(import (mcgoron iterator string) + (mcgoron iterator srfi 128)) (let* ((str "") (itr (string-iterator-start str))) |
