Mercurial > lasercutter
comparison src/clojureDemo/librlm.clj @ 1:6d9bdaf919f7
added clojureDemo source
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 20 Aug 2010 00:32:44 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:163bf9b2fd13 | 1:6d9bdaf919f7 |
---|---|
1 (ns clojureDemo.librlm) | |
2 | |
3 (defmethod* - java.lang.Boolean [x] (not x)) | |
4 | |
5 ; (defmethod + [java.lang.Boolean java.lang.Boolean] | |
6 ; [a b] (or a b)) | |
7 | |
8 ; (defmethod * [java.lang.Boolean java.lang.Boolean] | |
9 ; [a b] (and a b)) | |
10 | |
11 ; (defmethod / java.lang.Boolean [x] x) |