1.2.0 permalink Arrow_down_16x16
  • (remove-cells df cells)
Given a collection of cells, remove them from the dataflow.

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 clojure/contrib/dataflow.clj:219 top

(defn remove-cells
  "Given a collection of cells, remove them from the dataflow."
  [df cells]
  (dosync
   (let [new-cells (difference (:cells @df) (set cells))]
     (ref-set df (build-dataflow* new-cells))
     (initialize df))))
Vars in clojure.contrib.dataflow/remove-cells: defn dosync let ref-set
Used in 0 other vars

Comments top

No comments for remove-cells. Log in to add a comment.