Mercurial > lasercutter
comparison src/laser/rubyisms.clj @ 9:35cf337adfcf
replaced jars
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 21 Aug 2010 06:10:24 -0400 |
parents | 0f48db8d2a05 |
children | f952052e37b7 |
comparison
equal
deleted
inserted
replaced
8:0f48db8d2a05 | 9:35cf337adfcf |
---|---|
1 (ns laser.rubyisms | 1 (ns laser.rubyisms |
2 (:use [clojure.contrib repl-utils str-utils seq-utils])) | 2 (:use [clojure.contrib |
3 | 3 repl-utils |
4 str-utils | |
5 [duck-streams :only [file-str]] | |
6 | |
7 ])) | |
4 | 8 |
5 (defmacro unless [boolean & forms] | 9 (defmacro unless [boolean & forms] |
6 `(if (not ~boolean) ~@forms)) | 10 `(if (not ~boolean) ~@forms)) |
7 | 11 |
8 (defn exit [] | 12 (defn exit [] |
9 ) | 13 (throw (Exception. "Exit."))) |