-
Notifications
You must be signed in to change notification settings - Fork 24
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 for spec/assert
?
#5
Comments
@nwjsmith Good idea! I'm working on a PR which will add support for a number of spec features, including |
That would be fantastic. Let me know if I can help in any way. |
@nwjsmith Would you mind trying this feature before I release? To try it:
|
I have chosen not to add an Instead, you can set the (s/check-asserts true)
(set! s/*explain-out* expound/printer)
(s/assert :example.place/city 1) |
Excellent, that works for me. Thanks! |
@nwjsmith Thanks for reporting this and for testing the fix! |
Thanks for expound, it's a great addition to spec.
I've been using clojure.spec/assert in combination with Clojure's pre-conditions. Would you be interested in a PR which adds support for assertions, or is that out-of-scope for expound?
The text was updated successfully, but these errors were encountered: