Skip to content

Rename unfold arguments for increased usefulness - #83

Merged
arvyy merged 5 commits into
schemeorg-community:masterfrom
aartaka:srfi-1-unfold-arg-naming
Aug 23, 2026
Merged

Rename unfold arguments for increased usefulness#83
arvyy merged 5 commits into
schemeorg-community:masterfrom
aartaka:srfi-1-unfold-arg-naming

Conversation

@aartaka

@aartaka aartaka commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

unfold arguments are obscure and their names don’t tell much. I always have to read the specification to understand what they mean. All the other *-unfold procedures in all the other SRFIs have better names (stop?, mapper, successor) that allow to understand how the procedure works, at a glance.

Thus this PR—making unfold more understandable and consistent with the ecosystem.

I also amended the validatedata.scm to use (scheme base) for Chicken 6 compatibility.

@aartaka

aartaka commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

I also renamed args in string-unfold and char-set-unfold for consistency. And fixed the order of args in char-set-unfold.

@arvyy
arvyy merged commit 4775932 into schemeorg-community:master Aug 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants