testit icon indicating copy to clipboard operation
testit copied to clipboard

Extendable vector checkers

Open ikitommi opened this issue 8 years ago • 1 comments

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 avatar May 10 '17 05:05 ikitommi

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.

jarppe avatar Sep 21 '17 15:09 jarppe