Skip to content

Extendable vector checkers #6

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

ikitommi
Copy link
Member

Instead of magic marker, vector special checking is now extendable.

also, previous version allowed the ... to be anywhere in the expected vector if it was also in the last position. Like:

(contains [1 ... 10 ...]) [1 2]) ; => true (matches only 1 and ::then-some)
(contains [1 ... 10]) [1 2]) ; => false (doesn't do ::them-some at all)

Also, added CHANGELOG.md & CONTRIBUTING.md

@ikitommi ikitommi requested a review from jarppe May 10, 2017 15:53
@ikitommi ikitommi force-pushed the extendable-vector-checkers branch from 34984f5 to b2b3e6c Compare May 10, 2017 15:55
@jarppe
Copy link
Member

jarppe commented Sep 21, 2017

I really like this idea. How ever, now the code base has changed and merging this is not trivial anymore.

Also, I would like to use similar approach with other data structures also.

Lets think about this.

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