view src/clojureDemo/librlm.clj @ 8:0f48db8d2a05

going to upgrade to clojure 1.2
author Robert McIntyre <rlm@mit.edu>
date Sat, 21 Aug 2010 03:21:22 -0400
parents 6d9bdaf919f7
children
line wrap: on
line source
1 (ns clojureDemo.librlm)
3 (defmethod* - java.lang.Boolean [x] (not x))
5 ; (defmethod + [java.lang.Boolean java.lang.Boolean]
6 ; [a b] (or a b))
8 ; (defmethod * [java.lang.Boolean java.lang.Boolean]
9 ; [a b] (and a b))
11 ; (defmethod / java.lang.Boolean [x] x)