Liking cljdoc? Tell your friends :D

active.clojure.record


define-record-typecljmacro

(define-record-type ?type ?second & ?params)
source

define-singleton-typecljmacro

(define-singleton-type type-name var-name & [predicate-name])

Defines a record type without fields. Instead of a constructor, the single value of this type is bound to var-name.

Defines a record type without fields. Instead of a constructor, the single value of this type is bound to `var-name`.
sourceraw docstring

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

× close