Liking cljdoc? Tell your friends :D

active.clojure.record-spec

A re-implementation of active.clojure.record that makes use of Clojure's new spec library. Define records the same ways as in the old implemenation or use the new syntax to automatically generate specs. If a field has no explicit spec, defaults to any?.

A re-implementation of `active.clojure.record` that makes use of
Clojure's new spec library. Define records the same ways as in the old
implemenation or use the new syntax to automatically generate specs.
If a field has no explicit spec, defaults to `any?`.
raw docstring

check-typeclj/s

(check-type type rec)
source

define-record-typeclj/smacro

(define-record-type ?type
                    ?constructor-call
                    ?predicate
                    ?field-specs
                    &
                    ?opt+specs)

Attach doc properties to the type and the field names to get reasonable docstrings.

Attach doc properties to the type and the field names to get reasonable docstrings.
sourceraw docstring

ns-keywordclj/s

(ns-keyword the-name-sym)

Takes a symbol or string the-name-sym and returns a namespaces keyword based on that symbol.

Example: (ns-keyword 'foo) => :calling.name.space/foo

Takes a symbol or string `the-name-sym` and returns a namespaces keyword
based on that symbol.

Example: `(ns-keyword 'foo) => :calling.name.space/foo`
sourceraw docstring

s-andclj/smacro

(s-and & args)
source

s-catclj/smacro

(s-cat & args)
source

s-defclj/smacro

(s-def & args)
source

s-fdefclj/smacro

(s-fdef & args)
source

s-fmapclj/smacro

(s-fmap & args)
source

s-genclj/smacro

(s-gen & args)
source

s-keysclj/smacro

(s-keys & args)
source

s-specclj/smacro

(s-spec & args)
source

throw-illegal-argument-exceptionclj/s

(throw-illegal-argument-exception msg)
source

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

× close