core.contracts's with-constraints macro takes a function followed by one or more contracts and returns a new function that is the amalgamation of them all:
(def constrained-sqr(with-constraintssqrsqr-contract))
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close