On 07.12.2009, at 07:52, ataggart wrote:
The functions , , =, = are only for numbers (though there might be
a way to shadow them). You can use the compare function for anything
implementing the Comparable interface (which should be easier to do
when using deftype instead of defstruct).
You
Hi,
Is it possible to define the functions , , =, =, ==, min, and max for my
own defstruct type?
My type is:
(defstruct deadline :value)
where I initialise value with an object of type long.
Thanks
-John
--
You received this message because you are subscribed to the Google
Groups Clojure