summaryrefslogtreecommitdiff
path: root/src/boot.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot.clj')
-rw-r--r--src/boot.clj8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/boot.clj b/src/boot.clj
index ff9a0b65..d5e21f13 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -230,6 +230,12 @@
(defn zero? [x]
(. clojure.lang.Num (zeroPred x)))
+(defn quot [num div]
+ (. clojure.lang.Num (quotient num div)))
+
+(defn rem [num div]
+ (. clojure.lang.Num (remainder num div)))
+
(defn complement [f]
(fn [& args]
(not (apply f args))))
@@ -765,7 +771,7 @@
eql? str strcat gensym cond
apply list* delay lazy-cons fnseq concat
and or + * / - == < <= > >=
- inc dec pos? neg? zero?
+ inc dec pos? neg? zero? quot rem
complement constantly identity seq count
peek pop nth contains get
assoc dissoc find keys vals merge