view src/laser/rubyisms.clj @ 15:8ad629298649

major refactoring
author Robert McIntyre <rlm@mit.edu>
date Sun, 29 Aug 2010 19:02:26 -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.")))