Re: Colon (:) in comments?

2010-06-14 Thread Thomas
It is also possible to use the clj-todo module for annotating your code with todo items. http://github.com/tgk/clj-todo http://clojars.org/clj-todo Thomas On Jun 13, 4:13 pm, j-g-faustus johannes.fries...@gmail.com wrote: Hi, I get an exception whenever I put a colon in a multiline comment:

Re: Keyboard Input in Applets

2010-06-14 Thread Meikel Brandmeyer
Hi, On Jun 14, 8:55 am, rob levy r.p.l...@gmail.com wrote: (ns ...     ...     (:gen-class      :extends javax.swing.JApplet   ???   :implements java.awt.event.KeyListener)) :implements [java.awt.event.KeyListener] Note: vector. (defn -init [#^JApplet applet]   ??? addKeyListener )

Re: noob questions - Hello world + learning

2010-06-14 Thread nickikt
Hello, I have a some comments (on comments and more :)) First this (comment . ) There are diffrent kind ofs comments. If you just want to note something you can do ; but mabey you want to have a example how to use something in your Code then use (comment ). With defn you creat a new

Re: can not install clojure-test-mode using elpa (package.el)

2010-06-14 Thread B Smith-Mannschott
On Mon, Jun 14, 2010 at 07:16, B Smith-Mannschott bsmith.o...@gmail.com wrote: On Sun, Jun 13, 2010 at 23:26, Phil Hagelberg p...@hagelb.org wrote: There are some bugs in package.el that I have fixed in my personal fork but have not yet made it upstream yet. Try clearing out .emacs.d/elpa and

Re: Colon (:) in comments?

2010-06-14 Thread j-g-faustus
OK. Thanks for the help to both of you. Regards, jf On 13 Jun, 21:27, Meikel Brandmeyer m...@kotka.de wrote: Hi, Am 13.06.2010 um 19:50 schrieb Heinz N. Gies: comment just is a function that says 'don't evaluate the stuff in here, it still needs to be correct clojure code you can either

Re: Commercially-supported, polished Clojure development environment

2010-06-14 Thread Laurent PETIT
Hi Chas, I'm interested in being able to consult the detail of the answers (not just the summary view), 'cause I guess there could be interesting stuff in the free form parts of it (and the summary page just presents a few of these answers). 2010/6/9 Chas Emerick cemer...@snowtide.com:

Re: Commercially-supported, polished Clojure development environment

2010-06-14 Thread Antony Blakey
On 14/06/2010, at 9:25 PM, Laurent PETIT wrote: Hi Chas, I'm interested in being able to consult the detail of the answers (not just the summary view), 'cause I guess there could be interesting stuff in the free form parts of it (and the summary page just presents a few of these answers).

Unexpected conj behavior

2010-06-14 Thread Sean Devlin
Okay, I was doing some quick experiments with conj today, and I stumbled across the following behavior. The first step works great. user= (conj {} [:a 1]) {:a 1} Then I hit some different casting errors: user= (conj {} (seq [:a 1])) #CompilerException java.lang.ClassCastException:

Requesting Feedback on new Relational Mapping lib for Clojure

2010-06-14 Thread Brenton
Hello group. I have been working on a relational mapping library for Clojure named Carte. http://github.com/brentonashworth/carte The current version is what I would consider to be a working prototype and I would love to get feedback from the community before I do much more work on this. The

Re: Why does clojure-http stores cookies in a ref instead of an atom

2010-06-14 Thread Peter Schuller
I'm a clojure newbie trying to understand when to use atoms versus refs. In clojure-http.resourcefully, if you use the with-cookies macro stores the cookies in a thread local ref.  Why a ref and not an atom?  My impression is that refs are for when you need to coordinate changes to more than

Akamai Purchases Velocitude Job Opening

2010-06-14 Thread Straszheim, Jeff
This may be of interest to some of you. Recently Akamai has purchased the mobile services company Velocitude and is seeking software engineers in the Cambridge MA area with experience with functional programming. I don't have a direct link to the job requirements description, but if you go

ClojureCheck 2.0

2010-06-14 Thread Meikel Brandmeyer
Dear fellow Clojurians, I just released ClojureCheck 2.0 into the wild. It is a clojure.test extension that allows to generate input data of a desired structure to test code with random input. It is similar to fact[1] or Haskell's QuickCheck[2]. I wrote a short introductory blog post with a

Re: ClojureCheck 2.0

2010-06-14 Thread Quzanti
Useful, but not that sort of thing I'd ever think to look for unless I had read about it. Is there a wiki page somewhere that lists all this little libraries with a one line description? Would be great to just read a list of ideas and check a few out that hadn't thought about before. On Jun 14,

Re: Mac Emacs users: which version do you prefer (Aquamacs, Carbon Emacs, other?)

2010-06-14 Thread Phil Hagelberg
On Sun, Jun 13, 2010 at 8:22 AM, Rob Lachlan robertlach...@gmail.com wrote: Probably, but I'm at a loss to figure out exactly what it might be.  I cleaned emacs off, along with the .emacs.d directory, reinstalled, and the problem reappeared. I'm not touching it right now since, as I mentioned,

Re: Why does clojure-http stores cookies in a ref instead of an atom

2010-06-14 Thread Phil Hagelberg
On Fri, Jun 11, 2010 at 8:45 AM, Steve Molitor stevemoli...@gmail.com wrote: I'm a clojure newbie trying to understand when to use atoms versus refs. In clojure-http.resourcefully, if you use the with-cookies macro stores the cookies in a thread local ref.  Why a ref and not an atom?  My

Re: Unexpected conj behavior

2010-06-14 Thread Stuart Sierra
On Jun 14, 11:06 am, Sean Devlin francoisdev...@gmail.com wrote: ;Bad user= (into {} (partition 2 [:a 1 :b 2 :c 3 :d 4])) This can, of course, be (into {} (map vec (partition 2 [:a 1 :b 2 :c 3 :d 4]))) I think the requirement is that the argument to APersistentMap.conj should implement

Re: Keyboard Input in Applets

2010-06-14 Thread rob levy
Meikel, Thank you! This gives me some ideas I'm going try. I read your blog posts too, great stuff. The new book by Vanderhart Sierra serves as good documentation of proxy as well. I have not yet come across a good Java for Clojure Programmers guide that really explores all the hairy

ANN: clojure-maven-plugin 1.3.3

2010-06-14 Thread Mark Derricutt
Hey all, Pushed out a new release of the maven plugin earlier in the week - clojure-maven-plugin 1.3.3 changes: * Changes to clojure:swank * Now generates a temporary .clj file to execute when running swank. * Now uses test dependencies rather than compile dependencies * Changes to