Permalink
Browse files

fix some typos, add a declare

  • Loading branch information...
1 parent 1d1a812 commit b7dcafc065abfdd5baf4093b317f903bcc6a11c6 @swannodette swannodette committed Feb 21, 2013
Showing with 4 additions and 2 deletions.
  1. +1 −1 src/clj/cljs/core.clj
  2. +3 −1 src/cljs/cljs/core.cljs
View
@@ -278,7 +278,7 @@
([x] `(- ~x)))
(defmacro unchecked-remainder-int
- ([x n] `(mod ~x n)))
+ ([x n] `(mod ~x ~n)))
(defmacro unchecked-subtract
([& xs] `(- ~@xs)))
View
@@ -1424,7 +1424,9 @@ reduces them without incurring seq initialization"
(cljs.core/unchecked-negate x))
(defn unchecked-negate-int [x]
- (cljs.core/unchecked-negate-int ~x))
+ (cljs.core/unchecked-negate-int x))
+
+(declare mod)
(defn unchecked-remainder-int [x n]
(cljs.core/unchecked-remainder-int x n))

0 comments on commit b7dcafc

Please sign in to comment.