0.8.4-SNAPSHOT Arrow_down_16x16

recover-vars-from-term

clojure.core.logic

  • (recover-vars-from-term x)

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/core/logic.clj:2461 top

(defn recover-vars-from-term [x]
  (let [r (atom #{})]
    (walk-term x
      (fn [x]
        (if (lvar? x)
          (do (swap! r conj x) x)
          x)))
    @r))
Vars in clojure.core.logic/recover-vars-from-term:
Used in 0 other vars

Comments top

No comments for recover-vars-from-term. Log in to add a comment.