workflo.macros.query.util
backref-attr?
(backref-attr? attr)
Returns true if an attribute is a backref attribute, that is, if it has a namespace and name and the name that starts with _
.
capitalized-name
(capitalized-name x)
Returns the name of a symbol, keyword or string, with the first letter capitalized.
capitalized-symbol?
(capitalized-symbol? x)
Returns true if x is a symbol that starts with a capital letter.
combine-properties-and-groups
(combine-properties-and-groups props-and-groups)
Takes a vector of property names or [base subprops] groups, e.g. [foo [bar [baz ruux]]], and returns a flat vector into which the group vectors are spliced, e.g. [foo bar [bax ruux]].
print-spec-gen
(print-spec-gen spec)
Takes a spec (e.g. as a keyword or symbol) and pretty-prints 10 random values generated for this spec.
singular-backref-attr?
(singular-backref-attr? attr)
Returns true if a backref attribute represents a singular (as opposed to plural) result, that is, if the namespace is singular.