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

Support clojure 1.10.1 #32

Merged
merged 1 commit into from
May 24, 2020
Merged

Conversation

dparis
Copy link

@dparis dparis commented Apr 29, 2020

  • Update clojure dependency to latest stable version 1.10.1
  • Update :spec-provider.stats/distinct-values spec to conform to most recent
    spec function specs

The distinct-values spec was using (s/* any?) to validate what appears to always be a set. This commit changed the s/* function to validate that each spec passed is either nil? or sequential?: clojure/spec.alpha@3b34bd3
A set is not sequential so this was failing. On the assumption that distinct-values is always a set, I've updated the spec to instead check for a set collection containing unique elements that all conform to any?.

Let me know if you'd like me to change anything here. If the assumption that distinct-values is always supposed to be a set is invalid, happy to update the spec accordingly.

* Update clojure dependency to latest stable version 1.10.1
* Update :spec-provider.stats/distinct-values spec to conform to most recent
spec function specs
@robhanlon22
Copy link

Resolves #28.

@stathissideris stathissideris merged commit 83ce35f into stathissideris:master May 24, 2020
@stathissideris
Copy link
Owner

Merged, many thanks

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.

3 participants