view src/laser/rubyisms.clj @ 14:db745c95aabd

trying to revert back to a usable form
author Robert McIntyre <rlm@mit.edu>
date Sun, 29 Aug 2010 00:09:28 -0400
parents f952052e37b7
children
line wrap: on
line source
1 (ns laser.rubyisms
2 (:use [clojure.contrib
3 repl-utils
4 str-utils
5 [duck-streams :only [file-str]]
7 ]))
12 (defmacro unless [boolean & forms]
13 `(if (not ~boolean) ~@forms))
15 (defn exit []
16 (throw (Exception. "Exit.")))