Liking cljdoc? Tell your friends :D

flatland.useful.datatypes


as-intclj

(as-int x)
source

assoc-recordcljmacro

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

clj->javaclj

source

java->cljclj

source

make-recordcljmacro

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

record-accessorscljmacro

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

update-recordcljmacro

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

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

× close