-
Notifications
You must be signed in to change notification settings - Fork 215
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
clojure.spec :fn equivalent? #764
Labels
enhancement
New feature or request
Comments
No, there is not yet such a thing, but it would be easy to add. Interested in doing a PR for that? |
Well, if it's easy, then yeah I can give it a shot. 😎 I'll admit I haven't looked at the source code. Can you give me any pointers on where to start? |
You could start from |
fixed in #1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In clojure.spec you can do something like this:
Where the
:fn
can be used to verify the relationship between args and return value.Is there any way to do this in malli?
The text was updated successfully, but these errors were encountered: