1.2.0 permalink Arrow_down_16x16

find-pure-exprs

clojure.contrib.test-is

  • (find-pure-exprs form)
Recursively finds all sub-expressions in form that do not contain
any symbols starting with _

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/test_is.clj:58 top

(defn find-pure-exprs
  "Recursively finds all sub-expressions in form that do not contain
  any symbols starting with _"
  [form]
  (filter #(and (list? %)
                (empty? (find-holes %)))
          (tree-seq seq? seq form)))
Vars in clojure.contrib.test-is/find-pure-exprs: and defn empty? filter list? seq seq? tree-seq
Used in 0 other vars

Comments top

No comments for find-pure-exprs. Log in to add a comment.