0.8.4-SNAPSHOT Arrow_down_16x16

run-constraint

clojure.core.logic

  • (run-constraint c)

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

(defn run-constraint [c]
  (fn [a]
    (if (or (not (irelevant? c)) (relevant? c a))
      (if (runnable? c a)
        ((composeg* (runcg c) c (stopcg c)) a)
        a)
      ((remcg c) a))))
Vars in clojure.core.logic/run-constraint:
Used in 0 other vars

Comments top

No comments for run-constraint. Log in to add a comment.