-
-
Save luxbock/532a19f75553ae938c0a998e3be47851 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user> (s/def ::number int?) | |
:user/number | |
user> (s/def ::number-list (s/coll-of ::number :min-count 1)) | |
:user/number-list | |
user> (s/fdef foobar | |
:args (s/cat) | |
:ret ::number-list) | |
user/foobar | |
user> (defn foobar [] []) | |
#'user/foobar | |
user> (stest/instrument `foobar) | |
[user/foobar] | |
user> (foobar) | |
[] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment