Liking cljdoc? Tell your friends :D

lambdaroyal.memory.abstraction.hierarchie

totally renewed hierarchie builder

totally renewed hierarchie builder
raw docstring

hierarchieclj

(hierarchie xs handler & levels)

[level] is variable arity set of keywords or function taking a document into account and providing back a category. [handler] is a function applied to the leafs of the hierarchie. Using identity as function will result the documents as leafs.

[level] is variable arity set of keywords or function taking a document into account and providing back a category. [handler] is a function applied to the leafs of the hierarchie. Using identity as function will result the documents as leafs.
sourceraw docstring

hierarchie-backtrackingclj

(hierarchie-backtracking xs handler λbacktracking & levels)

[level] is variable arity set of keywords or function taking a document into account and providing back a category. [handler] is a function applied to the leafs of the hierarchie. Using identity as function will result the documents as leafs. λbacktracking-fn must accept a map [node] that denotes the group key [:k], :l (denoting whether we inspect a leaf node or not and :v, the elements that resulted from applying a level discriminator, :c the number of elements WITHIN the next recursion matching the category. The function must return a adapted version of [node] that reflects the information necessary to the user.

[level] is variable arity set of keywords or function taking a document into account and providing back a category. [handler] is a function applied to the leafs of the hierarchie. Using identity as function will result the documents as leafs. 
λbacktracking-fn must accept a map [node] that denotes the group key [:k], :l (denoting whether we inspect a leaf node or not and :v, the elements that resulted from applying a level discriminator, :c the number of elements WITHIN the next recursion matching the category. The function must return a adapted version of [node] that reflects the information necessary to the user.
sourceraw docstring

hierarchie-backtracking-intclj

(hierarchie-backtracking-int rec xs handler λbacktracking & levels)
source

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

× close