std.lib.schema.ref

*ref-fn*

dynamic

attr-ns-pair

added in 3.0

(attr-ns-pair [attr])

constructs a :ns and :ident root pair for comparison

determine-rval

added in 3.0

(determine-rval [[root ref-ns many?] [attr] :as entry])

outputs the :rval value of a :ref schema reference

forward-ref-attr

added in 3.0

(forward-ref-attr [attr])

creates the :ref schema attribute for the forward reference case

forward-ref-attr-fn

added in 3.0

(forward-ref-attr-fn [_ [attr] :as entry])

helper for forward-ref-attr

is-reversible?

added in 3.0

(is-reversible? attr)

determines whether a ref attribute is reversible or not

keyword-reverse

added in 3.0

(keyword-reverse k)

reverses the keyword by either adding or removing ‘_’ in the value

keyword-reversed?

added in 3.0

(keyword-reversed? k)

checks whether the keyword is reversed (begins with ‘_’)

mark-multiple

added in 3.0

(mark-multiple nsgroups)(mark-multiple [nsgroup & more] output)

marks multiple ns/ident groups

ref-attrs

added in 3.0

(ref-attrs fschm)

creates forward and reverse attributes for a flattened schema

reverse-ref-attr

added in 3.0

(reverse-ref-attr [attr])

creates the reverse :ref schema attribute for backward reference

with:ref-fn

macro

added in 4.0

(with:ref-fn [ref-fn] & body)

passes a function for use in reverse-ref-attr method to add additional params to schema