Liking cljdoc? Tell your friends :D

babbage.util


-!>macro

(-!> a)
(-!> a b)
(-!> a b & cs)

Equivalent to ->, except an intermediate nil value triggers an exception.

Equivalent to ->, except an intermediate nil value triggers an exception.
sourceraw docstring

circular?

(circular? has-requires depmap)
source

defnmetamacro

(defnmeta name doc-string? attr-map? [params*] prepost-map? body)
(defnmeta name
          doc-string?
          attr-map?
          ([params*] prepost-map? body)
          +
          attr-map?)
source

dependent?

(dependent? o)
source

dfs

(dfs f seen ancestors depmap)
source

fnmetamacro

(fnmeta meta & sigs)
source

group-deps

(group-deps already-grouped dependent)
source

layers

(layers nodes)

Given a DAG consisting of seq of nodes (represented as maps with a label under the :provides key and outgoing edges under the :requires key), return a seq of seqs of nodes s.t. the first element contains the nodes with no incoming edges, the second contains the nodes with incoming edges from the first, etc.

Throws exceptions if a node :requires a nonexistent node or in the case of circular dependencies.

Given a DAG consisting of seq of nodes (represented as maps with a
label under the :provides key and outgoing edges under
the :requires key), return a seq of seqs of nodes s.t. the first
element contains the nodes with no incoming edges, the second
contains the nodes with incoming edges from the first, etc.

Throws exceptions if a node :requires a nonexistent node or in the
case of circular dependencies.
sourceraw docstring

layers-and-required

(layers-and-required nodes)
source

maybe-throw-error

(maybe-throw-error a-str a-val)
source

still-required

(still-required independent dependent)
source

stringify

(stringify x)

Returns a string, writing out 'nil' if nil.

Returns a string, writing out 'nil' if nil.
sourceraw docstring

transform-group

(transform-group group)
source

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

× close