Since we had this discussion I've been using Jython in Clojure and
I've been growing a little library to make things easier. I decided
it was useful enough to make live (though probably far from complete,
seeing as my use case has been solely on one python library, nltk).
http://code.google.com/p
Hi,
On Sat, Mar 6, 2010 at 20:36, Manfred Lotz wrote:
> Now I tried a different way:
>
> (defstruct st :a :b)
>
> (defn my-struct-map [s & inits]
> (let [sm (struct-map s inits)]
> (if (= nil (sm :b))
> (assoc sm :b 0.0)
> sm))
> )
>
> Unfortunately, the part sm (struct-map s inits
On Mon, 1 Mar 2010 11:01:36 -0800 (PST)
ataggart wrote:
> No, but if you need to do that, then you can do what deftype sort-of
> does:
>
> user=> (defstruct St :a :b)
> #'user/St
> user=> (defn st ([a] (struct St a 0.0)) ([a b] (struct St a b)))
> #'user/st
> user=> (st 5)
> {:a 5, :b 0.0}
>
>
PDF of slides from my presentation at a recent Tucson JUG:
http://tinyurl.com/yjrnh55
(licensed as Creative Commons Attribution-Noncommercial). If you need
the
Powerpoint email me.
regards,
-tom
On Mar 3, 8:58 pm, Wilson MacGyver wrote:
> Looks like I'll be doing a talk on clojure next we
I've just filed a bug report:
http://github.com/technomancy/swank-clojure/issues#issue/10
Thanks,
Rickard
--
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 a
Has anyone had problems with netbeans starting with the enclojure
alpha? I restarted my session and it died. Now when I try to run
netbeans, it throws a classpath exception. Can I remove this plugin
or am I missing something in my install?
Exception in thread "main" java.lang.NoClassDefFoundErr
Have you tried the do-prepared function?
On Mar 5, 5:43 am, rdunklau wrote:
> Hello.
>
> I'm trying to use clojure.contrib.sql to set up my database (on
> postgresql)
> However, i'm running into some problems : I did not find a way to
> execute a (prepared) statement outside a transaction WITHOUT
>
>
> > If you're using git, this should be avoided. git is remarkably bad at
> > storing binary data.
>
> I seem to recall that recent versions of Git have improved
> significantly in this area. However, there's still the fundamental
> problem that changing the dependencies increases the size of t
On Mar 6, 5:58 am, Phil Hagelberg wrote:
> If you're using git, this should be avoided. git is remarkably bad at
> storing binary data.
I seem to recall that recent versions of Git have improved
significantly in this area. However, there's still the fundamental
problem that changing the dependenc
On Mar 5, 2010, at 5:43 AM, rdunklau wrote:
> So, is there any function which exposes the
> PreparedStatement.executeUpdate() method directly ?
There is no such function currently. Is calling the Java method directly an
undesirable option?
--Steve
--
You received this message because you are
> > If you make a design decision to use an atom, you are effectively committing
> > to never, ever being able to update that atom within a transaction.
> > refs can do everything atoms can do and more. They are slightly slower,
> > perhaps, but much safer. So
> > unless you have an explicit pe
11 matches
Mail list logo