Liking cljdoc? Tell your friends :D

eastwood.copieddeps.dep7.clojure.core.contracts

The public contracts programming functions and macros for clojure.core.contracts.

The public contracts programming functions and macros for clojure.core.contracts.
raw docstring

contractcljmacro

(contract name docstring & constraints)
source

providecljmacro

(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.
sourceraw docstring

with-constraintsclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close