The public contracts programming functions and macros for clojure.core.contracts.
The public contracts programming functions and macros for clojure.core.contracts.
(provide & kontracts)
Provides the Var manipulation macro offering ex post facto application of contracts to existing functions.
Provides the Var manipulation macro offering ex post facto application of contracts to existing functions.
(with-constraints f)
(with-constraints f c)
(with-constraints f c & more)
A contract combinator.
Takes a target function and a number of contracts and returns a function with the contracts
applied to the original. This is the preferred way to apply a contract previously created
using contract
as the use of partial
may not work as implementation details change.
A contract combinator. Takes a target function and a number of contracts and returns a function with the contracts applied to the original. This is the preferred way to apply a contract previously created using `contract` as the use of `partial` may not work as implementation details change.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close