1.0.0-SNAPSHOT permalink Arrow_down_16x16



  • (zip-select-nodes* locs state)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/enlive_html.clj:495 top

(defn zip-select-nodes* [locs state]
  (letfn [(select1 [loc previous-state] 
            (when-let [state (step previous-state loc)]
              (let [descendants (mapcat #(select1 % state) (children-locs loc))]
                (if (accept-key state) (cons loc descendants) descendants))))]
    (mapcat #(select1 % state) locs)))
Vars in net.cgrand.enlive-html/zip-select-nodes*: defn letfn mapcat
Used in 0 other vars

Comments top

No comments for zip-select-nodes*. Log in to add a comment.