Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vector-fold{-right}, remove string-{any|every} #885

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Add vector-fold{-right}, remove string-{any|every} #885

merged 1 commit into from
Jan 31, 2024

Conversation

gambiteer
Copy link
Collaborator

The definitions of string-any and string-every in SRFI 13 are not parallel to the definitions of vector-any and vector-every in SRFI 133. So move the definitions of vect-any and vect-every in _std#.scm from a block executed both for vectors and strings to a block executed just for vectors. Put definitions of vect-fold and vect-fold-right in a block that is executed only for vectors, not strings.

string-any and string-every are still available in SRFI 13.

The definitions of string-any and string-every in SRFI 13
are not parallel to the definitions of vector-any and
vector-every in SRFI 133.  So move the definitions of vect-any
and vect-every in _std#.scm from a block executed both for
vectors and strings to a block executed just for vectors.
Put definitions of vect-fold and vect-fold-right in a block
that is executed only for vectors, not strings.

string-any and string-every are still available in SRFI 13.
@feeley feeley merged commit 6cd4fe4 into gambit:master Jan 31, 2024
6 checks passed
@gambiteer gambiteer deleted the vector-fold branch January 31, 2024 18:27
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.

None yet

2 participants