Namespaces

 
1.0.0-SNAPSHOT Arrow_down_16x16
  • (do-> & fns)
Chains (composes) several transformations. Applies functions from left to right.

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

(defn do->
 "Chains (composes) several transformations. Applies functions from left to right." 
 [& fns]
  #(reduce (fn [nodes f] (flatmap f nodes)) (as-nodes %) fns))
Vars in net.cgrand.enlive-html/do->: defn fn reduce
Used in 0 other vars

Comments top

No comments for do->. Log in to add a comment.