totally renewed hierarchie builder
totally renewed hierarchie builder
(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.
(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.
(hierarchie-backtracking-int rec xs handler λbacktracking & levels)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |