Skip to content

Instantly share code, notes, and snippets.

Created October 5, 2016 19:07
What would you like to do?
user> (s/def ::number int?)
user> (s/def ::number-list (s/coll-of ::number :min-count 1))
user> (s/fdef foobar
:args (s/cat)
:ret ::number-list)
user> (defn foobar [] [])
user> (stest/instrument `foobar)
user> (foobar)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment