Recursively finds all sub-expressions in form that do not contain
any symbols starting with _
(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)))
Comments top
No comments for find-pure-exprs. Log in to add a comment.