Re: New Release of the Clojure Debugging Toolkit

2010-10-09 Thread Gregg Williams
Thanks for your "ridiculously long instructions" on using cdt; I appreciate your thoroughness. I'm working on the %$#...@^@! Windows platform (Windows XP, to be precise), and I'm unable to set cdt-source-path in my .emacs file. I can get my Clojure REPL to start just fine: C:\tech>java - ag

Re: Trouble understanding let

2010-10-09 Thread Michael Glaesemann
On Oct 10, 2010, at 0:01 , Andreas Kostler wrote: > From "Programming Clojure", Chapter 2 - Bindings: > "The bindings are then in effect for exprs, and the value of the let > is the value of the last expression in exprs." > To me this reads: > user=> (let [k (+ 2 2)]) > 4 > > However, repl says

Re: Trouble understanding let

2010-10-09 Thread Mike Meyer
"Andreas Kostler" wrote: >From "Programming Clojure", Chapter 2 - Bindings: >"The bindings are then in effect for exprs, and the value of the let >is the value of the last expression in exprs." >To me this reads: >user=> (let [k (+ 2 2)]) > 4 > >However, repl says: >user=> (let [k (+ 2 2)]) >

Trouble understanding let

2010-10-09 Thread Andreas Kostler
>From "Programming Clojure", Chapter 2 - Bindings: "The bindings are then in effect for exprs, and the value of the let is the value of the last expression in exprs." To me this reads: user=> (let [k (+ 2 2)]) 4 However, repl says: user=> (let [k (+ 2 2)]) nil What is it I get wrong? Thanks

documentation/example suggestion re: keyword arguments

2010-10-09 Thread Lee Spector
I found it hard to figure out how best to get common lisp-style keyword arguments with defaults, and had been doing it in a clunky way until Chas showed me the way I show below. Now I've had a student also fail to figure it out until I showed him, and it occurred to me that maybe I should sugge

Re: clojure-clr and mono

2010-10-09 Thread MarkH
On Oct 9, 9:21 am, Sampo Vuori wrote: > On Oct 9, 2:53 am, MarkH wrote: > > > Mono 2.8 just came out yesterday.  You don't have to wait for your > > distro to package it up.  Building official source releases are as > > easy as ./configure && make && make install. I just did it last night. > >

Re: clojure-clr and mono

2010-10-09 Thread MarkH
On Oct 9, 9:21 am, Sampo Vuori wrote: > On Oct 9, 2:53 am, MarkH wrote: > > > Mono 2.8 just came out yesterday.  You don't have to wait for your > > distro to package it up.  Building official source releases are as > > easy as ./configure && make && make install. I just did it last night. > >

Re: clojure-clr and mono

2010-10-09 Thread Sampo Vuori
On Oct 9, 2:53 am, MarkH wrote: > Mono 2.8 just came out yesterday.  You don't have to wait for your > distro to package it up.  Building official source releases are as > easy as ./configure && make && make install. I just did it last night. Any idea if the clojure-clr works on the mono 2.8?

Re: clojure-cake

2010-10-09 Thread lance bradley
You can verify this by running 'which ruby; which gem'. If the paths do not match, adjust it as mentioned in luke's link. ping me if this doesn't work for. -lance On Oct 8, 7:00 am, Luke Renn wrote: > On Oct 8, 5:47 am, Sunil S Nandihalli > wrote: > > > Hello everybody, > >  I am trying to use c

Re: Newbie - Map to String

2010-10-09 Thread Paul
Many thanks for all your responses. P. On Oct 9, 1:21 am, Miki wrote: > Note that apart from the answers above, you'll probably need to encode > the parameters, something like: > > (import 'java.net.URLEncoder) > > (defn encode [s] >   (URLEncoder/encode s)) > > (defn urlencode [s] >   (apply st

Re: relational data aggregation language

2010-10-09 Thread Ross Gayler
Thanks Shantanu. (Sorry for the slow reply.) > What does a single case consist of? Is it just a result-set (as a > consequence of running an SQL query)?. Maybe an example will help. I can't be too specific, but a single case can be thought of as a tiny relational database with maybe 20 tables. On

Re: VimClojure 2.2.0 released

2010-10-09 Thread ianp
> > If the STOMP support happens with nREPL as Rich was pushing for, > > you'd have the windows solution. There are plenty of STOMP client > > that works on windows. > > Do you have some pointers? Googling didn't turn up useful stuff. > Important requirement: must be driven by CLI. Well, STOMP is