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 "Cloju
Mine is almost the same:
Vim 7.2, vimclojure 2.1.2, java 1.6.0_10
On Thu, Nov 12, 2009 at 10:47 AM, MarkSwanson wrote:
> > Does anyone know why if the first character in my *.clj file is '#', then
> > when I open it in VIM, ClojureVIM fails to recognise it as a Clojure
> file?
>
> I don't know w
Hi Alex,
I had to ~(keyword (str sym)) instead of ~(keyword sym), but now it works
well.
Cheers,
-John
On Thu, Nov 12, 2009 at 12:40 AM, Alex Osborne wrote:
> John Ky wrote:
> > Hi all,
> >
> > I'm looking for a way to write a defkw macro so that (defkw ABSENT)
>
Thanks,
On Thu, Nov 12, 2009 at 12:34 AM, Alex Osborne wrote:
> John Ky wrote:
> > How to I print without spaces?
>
> (println (str "a" "b" "c"))
>
> --
> You received this message because you are subscribed to the Google
> Groups "
Hi all,
Does anyone know why if the first character in my *.clj file is '#', then
when I open it in VIM, ClojureVIM fails to recognise it as a Clojure file?
Thanks
-John
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send em
Hi all,
I'm looking for a way to write a defkw macro so that (defkw ABSENT) expands
to
(def ABSENT (kw "ABSENT" :ABSENT )).
Thanks,
-John
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Hi all,
How to I print without spaces?
For example:
(println "a" "b" "c")
Gives:
a b c
Rather than
abc
Thanks,
-John
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note t
?
Is that feasible or even possible or desirable? Or am I just being silly?
Cheers,
-John
On Sat, Oct 31, 2009 at 1:16 AM, Stuart Sierra
wrote:
>
> On Oct 30, 6:18 am, John Ky wrote:
> > I've been wondering if there was a way to specify the Java and C# wrapper
> > classes/i
Hello,
I've been wondering if there was a way to specify the Java and C# wrapper
classes/interfaces to wrap Clojure code in Clojure, and then writing out
them to a file so that they can ge compiled by their respective compilers.
I'm asking this because in my work, I need to support these two lang