Mercurial > lasercutter
annotate src/clojureDemo/librlm.clj @ 6:4ae2497acf7d
saving progress
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 20 Aug 2010 03:18:05 -0400 |
parents | 6d9bdaf919f7 |
children |
rev | line source |
---|---|
rlm@1 | 1 (ns clojureDemo.librlm) |
rlm@1 | 2 |
rlm@1 | 3 (defmethod* - java.lang.Boolean [x] (not x)) |
rlm@1 | 4 |
rlm@1 | 5 ; (defmethod + [java.lang.Boolean java.lang.Boolean] |
rlm@1 | 6 ; [a b] (or a b)) |
rlm@1 | 7 |
rlm@1 | 8 ; (defmethod * [java.lang.Boolean java.lang.Boolean] |
rlm@1 | 9 ; [a b] (and a b)) |
rlm@1 | 10 |
rlm@1 | 11 ; (defmethod / java.lang.Boolean [x] x) |