Liking cljdoc? Tell your friends :D

qbits.commons.enum


case-enumcljmacro

(case-enum e & clauses)

Like case, but explicitly dispatch on Java enum ordinals.

Like `case`, but explicitly dispatch on Java enum ordinals.
sourceraw docstring

defspeccljmacro

(defspec k enum & [ns])
source

enum->fncljmacro

(enum->fn enum-symbol & [ns])

Like enum->map but >6x faster and throws on invalid enum values instead of just returning nil

Like enum->map but >6x faster and throws on invalid enum values
instead of just returning nil
sourceraw docstring

enum->mapclj

(enum->map enum)
(enum->map enum ns)
source

enum->setclj

(enum->set enum)
(enum->set enum ns)
source

fields->mapclj

(fields->map cls)
(fields->map cls ns)
source

format-keyclj

(format-key k ns)
source

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

× close