Skip to content

Adding "some" higher-order functions for collections #21

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

Closed
wants to merge 13 commits into from

Conversation

kakkoyun
Copy link

Adds map, filter, some, every operation support for collections.

I don't know if you prefer approach that you introduced in #15 but to achieve deferred execution, => operator introduced, so function can be embedded directly in specs.

I tried to respect conventions of code, using ESLint, pardon me any inconvenient changes.
It would be great if you suggest any refinements or improvements.
I can implement same functionality for Ruby, add documentation if needed. I wrote small number of tests, I can improve them also.

@kakkoyun kakkoyun changed the title Adding "some" high-order functions for collections Adding "some" higher-order functions for collections Dec 28, 2016
@kakkoyun kakkoyun closed this Jan 28, 2020
gasp pushed a commit to gasp/json-logic-js that referenced this pull request Oct 16, 2020
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