Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16

lockstep-transform

net.cgrand.enlive-html

  • (lockstep-transform nodes transformations-map)

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:476 top

(defn lockstep-transform [nodes transformations-map]
  (let [state (lockstep-automaton (keys transformations-map))
        transformations (vec (map #(or % (constantly nil)) 
                               (vals transformations-map)))]
    (mapknit #(transform-loc (xml/xml-zip %1) state transformations %2) nodes)))
Vars in net.cgrand.enlive-html/lockstep-transform: defn let
Used in 0 other vars

Comments top

No comments for lockstep-transform. Log in to add a comment.