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

Make remove return a transducer when no collection is provided. #610

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

jonasseglare
Copy link
Contributor

@jonasseglare jonasseglare commented Feb 11, 2025

This makes remove return a transducer if we don't provide a collection, so that we can write for example (into [] (remove odd?) [1 2 3 4 5]).

Fixes #609

Please answer the following questions and leave the below in as part of your PR.

src/squint/core.js Outdated Show resolved Hide resolved
@borkdude borkdude merged commit a778b16 into squint-cljs:main Feb 11, 2025
3 checks 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.

Make remove return a transducer if no collection is provided
2 participants