Mercurial > lasercutter
diff src/laser/rubyisms.clj @ 8:0f48db8d2a05
going to upgrade to clojure 1.2
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 21 Aug 2010 03:21:22 -0400 |
parents | |
children | 35cf337adfcf |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/laser/rubyisms.clj Sat Aug 21 03:21:22 2010 -0400 1.3 @@ -0,0 +1,9 @@ 1.4 +(ns laser.rubyisms 1.5 + (:use [clojure.contrib repl-utils str-utils seq-utils])) 1.6 + 1.7 + 1.8 +(defmacro unless [boolean & forms] 1.9 + `(if (not ~boolean) ~@forms)) 1.10 + 1.11 +(defn exit [] 1.12 + )