comparison src/laser/rubyisms.clj @ 11:f952052e37b7

trying a fix.
author Robert McIntyre <rlm@mit.edu>
date Tue, 24 Aug 2010 19:06:45 -0400
parents 35cf337adfcf
children
comparison
equal deleted inserted replaced
10:ef7dbbd6452c 11:f952052e37b7
4 str-utils 4 str-utils
5 [duck-streams :only [file-str]] 5 [duck-streams :only [file-str]]
6 6
7 ])) 7 ]))
8 8
9
10
11
9 (defmacro unless [boolean & forms] 12 (defmacro unless [boolean & forms]
10 `(if (not ~boolean) ~@forms)) 13 `(if (not ~boolean) ~@forms))
11 14
12 (defn exit [] 15 (defn exit []
13 (throw (Exception. "Exit."))) 16 (throw (Exception. "Exit.")))