Browse files


* src/main/clojure/clojure/core/logic.clj: note about handling constraints that need to check prefix
  • Loading branch information...
1 parent 15311a8 commit 5fc8bfa12b700845adddc8735c3c8dffb598091c David Nolen committed Aug 1, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/clojure/clojure/core/logic.clj
@@ -1834,6 +1834,10 @@
(updateg lhs rhs)
(loop (rest lp)))))) (.l ap))))
+;; NOTE: this seems costly if the user introduces a constraint
+;; update-prefix should be called only if we have a constraint
+;; in the store that needs this
(defn ==
"A goal that attempts to unify terms u and v."
[u v]

0 comments on commit 5fc8bfa

Please sign in to comment.