Permalink
Browse files

Merge branch 'master' of github.com:clojure/clojurescript into 83-def…

…type-methods
  • Loading branch information...
2 parents 5e734a8 + 9c1635b commit 0ec094ed2ab69d029f0331fd6d24b0a3675dac20 @fogus fogus committed Oct 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/cljs/core.clj
View
@@ -56,7 +56,7 @@
(defmacro -
([] 0)
- ([x] x)
+ ([x] (list 'js* "(- ~{})" x))
([x y] (list 'js* "(~{} - ~{})" x y))
([x y & more] `(- (- ~x ~y) ~@more)))

0 comments on commit 0ec094e

Please sign in to comment.