view src/laser/rubyisms.clj @ 20:6bed8ceb51a9

obtained a linear relation between output and target.
author Robert McIntyre <rlm@mit.edu>
date Mon, 30 Aug 2010 01:01:35 -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.")))