summaryrefslogtreecommitdiff
path: root/src/boot.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot.clj')
-rw-r--r--src/boot.clj9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/boot.clj b/src/boot.clj
index ffa83c04..f7b83921 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -6,6 +6,11 @@
(. (the-var defn) (setMacro))
+(def syntax-quote (fn [form]
+ (. clojure.lang.Compiler (syntaxQuote form))))
+
+(. (the-var syntax-quote) (setMacro))
+
(defn contains [coll key]
(. RT (contains coll key)))
@@ -155,10 +160,10 @@
(. x (oneMinus)))
(defn pos? [x]
- (. Num (plusp x)))
+ (. x (plusp)))
(defn neg? [x]
- (. Num (minusp x)))
+ (. x (minusp)))
(defn zero? [x]
(== x 0))