From 29917372ef066c42ca362e3a94f68d620ddd1b56 Mon Sep 17 00:00:00 2001 From: puredanger Date: Thu, 20 Oct 2016 14:17:21 -0500 Subject: [PATCH] Fix macro that creates fn with qualified name. This is flagged by specs in Clojure 1.9. --- src/main/clojure/clojure/core/logic.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/clojure/clojure/core/logic.clj b/src/main/clojure/clojure/core/logic.clj index 3e98397a..2dcb8181 100644 --- a/src/main/clojure/clojure/core/logic.clj +++ b/src/main/clojure/clojure/core/logic.clj @@ -1075,7 +1075,7 @@ `(mplus ~e (fn [] (mplus* ~@e-rest))))) (defmacro -inc [& rest] - `(fn -inc [] ~@rest)) + `(fn ~'-inc [] ~@rest)) (extend-type Object ITake