(assoc-record record & attrs)
Assoc attrs into a record. Mapping fields into constuctor arguments is done at compile time, so this is more efficient than calling assoc on an existing record.
Assoc attrs into a record. Mapping fields into constuctor arguments is done at compile time, so this is more efficient than calling assoc on an existing record.
(make-record type & attrs)
Construct a record given a pairs of lists and values. Mapping fields into constuctor arguments is done at compile time, so this is more efficient than creating an empty record and calling merge.
Construct a record given a pairs of lists and values. Mapping fields into constuctor arguments is done at compile time, so this is more efficient than creating an empty record and calling merge.
(record-accessors & types)
Defines optimized macro accessors using interop and typehints for all fields in the given records.
Defines optimized macro accessors using interop and typehints for all fields in the given records.
(update-record record & forms)
Construct a record given a list of forms like (update-fn record-field & args). Mapping fields into constuctor arguments is done at compile time, so this is more efficient than calling assoc on an existing record.
Construct a record given a list of forms like (update-fn record-field & args). Mapping fields into constuctor arguments is done at compile time, so this is more efficient than calling assoc on an existing record.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close