Re: Compiling Libraries With :aot

2012-04-06 Thread Brandon Harvey
On Wednesday, April 4, 2012 12:48:33 PM UTC-7, Luc wrote: > > I would add that you can look at the resulting jar file and you will see > both the source code and the .class files in it. > > By default the source is present but you can ask leiningen to remove it > from the target. If you need to kee

Re: idiomatic list-ify

2012-03-09 Thread Brandon Harvey
On Thursday, March 8, 2012 2:19:37 PM UTC-8, mefesto wrote: > > If `x` is a list then is the call to `(apply list x)` necessary? > Yes, meant to take that out. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojur

idiomatic list-ify

2012-03-08 Thread Brandon Harvey
Hi, I'm seeking a small & idiomatic function that will take input and ensure it's wrapped in a list. If nil, I'd like the list to be empty. If the input is already a list, I don't want to wrap it in another list layer. So: "hi" => ("hi") nil=> () ("hi") => ("hi") (list '("hi"))

Re: Best IDE

2012-01-18 Thread Brandon Harvey
I think the introductory docs, showing how to get going with a variety of IDEs, are well done: http://dev.clojure.org/display/doc/Getting+Started For me, clooj has been great so far. It has taught me exactly what I'd want from REPL interaction, when I (probably eventually) move on to bigger proj

Re: Lazy sequence transformation with item merge

2012-01-17 Thread Brandon Harvey
Sorry to be naive, but can I ask why you folks are not using recur? -- 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 that posts from new members are moderated - please be patient with y