> George, I don't know what time zone you live in, but you are one crazy
> person!
I'm on vacation in NYC for a couple more days, then back home to
Silicon Valley. Still jet lagged which explains my odd hours. (Not
to mention that being in New York is such a rush it's pretty hard to
sleep!)
> Y
George, I don't know what time zone you live in, but you are one crazy
person! You're doing fantastic work for the Clojure community, and I
thank you very much for that!
The Emacs I was using was Clojure Box, so I disconnected slime (just
in case) and tried what you suggested. The results were bet
Why does resultset-seq convert column names to all lower case? This
behavior is screwing me up (my column names are intentionally mixed
case) and I don't understand the reasoning.
Thanks,
Mark
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post
Hi Dmitri,
The problem is probably related to calling init with args. It requires
that super() gets called - I can't remember where I saw the
documentation, but here's an example of what works for me.
The following is a generic servlet which gets passed a clojure
namespace name as an init paramet
Due to popular demand*, I resuscitated my code to generate javascript
from s-expressions. This was what I coded to learn about logic
programming in Clojure.
Github: http://github.com/jduey/js-gen
Clojars: http://clojars.org/net.intensivesystems/js-gen
*actually it was just one person, but I'm eas
Since collatz is defined for integer math, I would argue that the use of "quot"
instead of "/" isn't a workaround at all -- "quot" is the right function for
the job, and better communicates what the code is doing.
That said, Mark is certainly right that we want feedback on the numeric support
i
I don't understand why there should be constraints on the project name
2010/10/10 Sunil S Nandihalli
>
>
> Hi,
> Leiningen replaces the project names with "-" with "_" for the sake
> of the jvm.. But the default "cake new" does not seem to do that. so
> the jvm has trouble with it..
> Than
I'm running lein swank and using slime-connect from emacs. When I use
lein compile after making changes to a method, they don't appear to
get picked up unless I bring down lein swank, bring it up again, slime-
connect, etc.
Is there a way to get lein compile changes to be picked up by an
already
I noticed an odd thing when making a servlet
(ns jms.myservlet
(import (javax.servlet.http
HttpServlet
HttpServletRequest
HttpServletResponse))
(:gen-class
:extends javax.servlet.http.HttpServlet))
(defn -init [& args]
(println "+++ init ran with arg
Hi,
Leiningen replaces the project names with "-" with "_" for the sake
of the jvm.. But the default "cake new" does not seem to do that. so
the jvm has trouble with it..
Thanks,
Sunil
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this g
thanks everybody,
I got it working .. the problem was that the ruby and rubygem were of
different versions...
Sunil.
On Sat, Oct 9, 2010 at 3:12 PM, lance bradley wrote:
> You can verify this by running 'which ruby; which gem'. If the paths
> do not match, adjust it as mentioned in luke's link.
I think I see the goal now: to allow calling with either a map or sequential
key-value pairs.
What you have appears correct and minimal for that purpose.
For a function taking a sequence, you can accomplish something similar without
a second arity by choosing to call directly or call using appl
The answer depends on what you're trying to accomplish.
Does this simpler definition allow you to call blah in the ways you want to?
(defn blah
[& {:as blah-map}]
;; do stuff with blah-map)
--Steve
On Oct 10, 2010, at 12:39 AM, Grayswx wrote:
> Recently, I've been coding functions that ta
Recently, I've been coding functions that take a map as follows. I
feel like it is slightly messy, though, and was wondering if any one
else could think of a reason not to do it:
(defn blah
([blah-map]
;; do stuff with blah-map)
([key val & {:as blah-map}]
(blah (assoc blah-map key va
> git fetch
Actually, instead of git fetch, use:
git pull origin windows
On Oct 10, 4:39 am, George Jahad wrote:
> I haven't gotten it working on Windows yet, (as I mention
> here:http://georgejahad.com/clojure/emacs-cdt.html)
>
> I don't think it will be hard, but I've never run Clojure on Wi
I haven't gotten it working on Windows yet, (as I mention here:
http://georgejahad.com/clojure/emacs-cdt.html)
I don't think it will be hard, but I've never run Clojure on Windows,
so I'm not sure of the issues involved. I need someone like you to
help me figure them out. I'm guessing the most i
k is not global binding so it does not resolve
let helps to define local binding
thanks
Abraham
On Oct 10, 2:09 pm, Ulises wrote:
> >> What is it I get wrong?
>
> As the others said, you have no expressions being evaluated in the
> body of let and hence you get nil. The way I understand let is t
>> What is it I get wrong?
As the others said, you have no expressions being evaluated in the
body of let and hence you get nil. The way I understand let is that
you define some bindings to be used in the body of let which will
cease to exist (if they didn't exist before the let expression) after
18 matches
Mail list logo