(add-spec-code spec-name predicate field-triples constructor-args constructor)
(fn-get-accessor-from-field-triple type
docref
constructor
field-triples
meta-info)
(fn-get-accessor-from-field-triple-no-java-class type
docref
constructor
field-triples
fields
rtd-symbol
meta-info)
(prepare-arguments! form ns ?type ?second ?params)
Checks validity of arguments and prepares them for define-record-type
call.
Returns vector of arguments:
[type options constructor constructor-args predicate field-triples opt+specs].
If :nongenerative option is truthy, the given nongenerative-id is registered in
the global-record-type-registry. If this id already exists, but the definitions
are different, an error is thrown. Otherwise nil
is returned.
Checks validity of arguments and prepares them for `define-record-type` call. Returns vector of arguments: [type options constructor constructor-args predicate field-triples opt+specs]. If :nongenerative option is truthy, the given nongenerative-id is registered in the global-record-type-registry. If this id already exists, but the definitions are different, an error is thrown. Otherwise `nil` is returned.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close