Liking cljdoc? Tell your friends :D

disultory.core


blank-specificationclj

(blank-specification)

Returns an empty map, this is simply an (in?)convenience function which allows for more expressive chaining.

Returns an empty map, this is simply an (in?)convenience function which
allows for more expressive chaining.
raw docstring

conditions-metclj

(conditions-met specification)

Returns a vector of conditional attributes whose conditions have been met. These conditions are expressed as Clojure functions, so they allow for limitless complexity.

Returns a vector of conditional attributes whose conditions have been
met. These conditions are expressed as Clojure functions, so they
allow for limitless complexity.
raw docstring

decide-attributeclj

(decide-attribute attr)
(decide-attribute attr specification)

Dispatch function for making decisions from attributes on a spec. See documentation in disultory.decision for more information.

Dispatch function for making decisions from attributes on a spec. See
documentation in disultory.decision for more information.
raw docstring

generateclj

(generate specification)

Recursively generate data from a specification. First, the function decides a value for each attribute, then it calls itself with a list of conditional attributes whose conditions have been met until either all conditional attributes have been resolved or all conditions are false.

Recursively generate data from a specification. First, the function
decides a value for each attribute, then it calls itself with a list
of conditional attributes whose conditions have been met until either
all conditional attributes have been resolved or all conditions are
false.
raw docstring

with-attributeclj

(with-attribute parent id type & args)

Helper function for adding attributes to the parent specification. See documentation in disultory.spec for more information.

Helper function for adding attributes to the parent specification. See
documentation in disultory.spec for more information.
raw docstring

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

× close