On Fri, Jul 30, 2010 at 8:52 AM, Stuart Halloway
stuart.hallo...@gmail.comwrote:
http://github.com/clojure/clojure/blob/1.2.x/changes.txtAlso, while
microbenchmarks are often misleading, if you have some that seem to show 1.2
issues I would be happy to run them and take a look.
Stu
Yeah,
Meant to say, ...zip doesn't have a compiled jar...
On Sun, Aug 1, 2010 at 1:36 AM, Mark Engelberg mark.engelb...@gmail.comwrote:
On Fri, Jul 30, 2010 at 8:00 AM, Stuart Halloway
stuart.hallo...@gmail.com wrote:
Clojure 1.2 RC 1 is now available, along with a corresponding Clojure
Contrib,
Hi Randy,
Thanks for your help. A bit late my answer because in the meantime I was
on vacation and only now found the time to pursue it further.
On Tue, 29 Jun 2010 18:53:30 -0700 (PDT)
RandyHudson randy_hud...@mac.com wrote:
Yes, you can do this by defining an EntityResolver that corrects the
Hi Manfred,
I'm sorry the code wasn't quite correct. The EntityResolver is set on
the parser's XMLReader, not on the parser itself:
(def parser (.newSAXParser (SAXParserFactory/newInstance))
(.setEntityResolver (.getXMLReader parser) resolver)
You don't need any external jars: all the classes
On Fri, Jul 30, 2010 at 3:33 PM, Bootvis bobjan...@gmail.com wrote:
There seems to be a problem with the RC on Windows. I was following
http://mmcgrana.github.com/2010/07/develop-deploy-clojure-web-applications.html
using the RC and doing lein.bat run script/run.clj errors with:
Exception in
Hi Randy,
On Sun, 1 Aug 2010 06:23:58 -0700 (PDT)
Randy Hudson randy_hud...@mac.com wrote:
Hi Manfred,
I'm sorry the code wasn't quite correct. The EntityResolver is set on
the parser's XMLReader, not on the parser itself:
(def parser (.newSAXParser (SAXParserFactory/newInstance))
Thanks to everyone for their suggestions. This is what I have used finally:
(defn parse-date [date-str]
(when-not (blank? date-str)
(let [clean-date-str (trim date-str)
parse-or-nil
(fn [format]
(try
(.parse format clean-date-str)
These should be fixed in technomancy's github. He pushed
http://github.com/downloads/technomancy/leiningen/leiningen-1.3.0-SNAPSHOT-standalone.jar
yesterday, which I'd expect to include the fixes, though I haven't
tested it myself.
On Jul 30, 11:33 pm, Bootvis bobjan...@gmail.com wrote:
There
Hey all!
can't seem to get the last element to bind. tia -doug
user cj-mpdata
[0010335602 40.00 1060.51 6/23/2010 DISCOVER E-
PAYMENT 7796 (DISCOVER)]
user (let [[[_ ck db cr _ dt _ _ _][dsc]]
[[Acct Chk Debt Crd Bal Date Desc Payee Catagory]
[newDescript]]]
Hi!
I'm not any good at Clojure, but it seems like a great language! I
have tried some examples and am reading a book about it. I have
dabbled with Haskell before and I am really fascinated by the
functional paradigm.
I'm planning to reduce my time at my full time job to create a small
startup.
On 1 August 2010 17:15, Manfred Lotz manfred.l...@arcor.de wrote:
Hi Randy,
On Sun, 1 Aug 2010 06:23:58 -0700 (PDT)
Randy Hudson randy_hud...@mac.com wrote:
Hi Manfred,
I'm sorry the code wasn't quite correct. The EntityResolver is set on
the parser's XMLReader, not on the parser itself:
2010/8/1 doug 395curra...@gmail.com
Hey all!
can't seem to get the last element to bind. tia -doug
user cj-mpdata
[0010335602 40.00 1060.51 6/23/2010 DISCOVER E-
PAYMENT 7796 (DISCOVER)]
user (let [[[_ ck db cr _ dt _ _ _][dsc]]
[[Acct Chk Debt Crd Bal Date Desc
Right you are Michael; sorry for the missing paren at the end of the
def.
On Aug 1, 11:59 am, Michael Wood esiot...@gmail.com wrote:
On 1 August 2010 17:15, Manfred Lotz manfred.l...@arcor.de wrote:
Hi Randy,
On Sun, 1 Aug 2010 06:23:58 -0700 (PDT)
Randy Hudson randy_hud...@mac.com
Hi Randy,
On Sun, 1 Aug 2010 10:04:16 -0700 (PDT)
Randy Hudson randy_hud...@mac.com wrote:
Right you are Michael; sorry for the missing paren at the end of the
def.
Now compiling the code works:
(def parser (.newSAXParser (SAXParserFactory/newInstance)))
(.setEntityResolver
The jar can be located in the target sub-directory.
On Aug 1, 2:37 am, Mark Engelberg mark.engelb...@gmail.com wrote:
Meant to say, ...zip doesn't have a compiled jar...
On Sun, Aug 1, 2010 at 1:36 AM, Mark Engelberg
mark.engelb...@gmail.comwrote:
On Fri, Jul 30, 2010 at 8:00 AM, Stuart
Aha, so it is. Thanks!
--
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 your
first post.
To unsubscribe from this
I just tested this in Clojure 1.2, and the bug is still there:
(contains? (transient #{1 2}) 1) - false ;should return true
On Mon, Mar 22, 2010 at 5:46 PM, Mark Engelberg mark.engelb...@gmail.comwrote:
Disturbingly, it doesn't error, it just always returns false.
This is in version
Hi all,
I'm writing a library which is organized using lein new, so the
directory structure contains an src and test. I have added a
directory examples with scripts that should be able to run by just
typing ./example-1.clj.
So the directory structure is:
pre
+- project.clj
+- src
|+-
I think we're almost there, sorry for the various mistakes.
If you look in the source for clojure.xml, you can see that the
default startparse argument for xml/parse is
(defn startparse-sax [s ch]
(.. SAXParserFactory (newInstance) (newSAXParser) (parse s ch)))
and we've only gotten as far as
thanks- you are correct. it is -what it is! -doug
On Aug 1, 1:03 pm, Rasmus Svensson r...@lysator.liu.se wrote:
2010/8/1 doug 395curra...@gmail.com
Hey all!
can't seem to get the last element to bind. tia -doug
user cj-mpdata
[0010335602 40.00 1060.51 6/23/2010 DISCOVER
Hello,
I'm trying to write a library with two main parts. The first is a
macro, I'll call it 'with-feature, that walks through forms passed
inside it, and any time it sees a call to another function in my
library, 'feature, do some transformations.
The problem I'm concerned about is as follows:
Related: in 1.2 RC1, find also fails to work with transient maps
(although it does throw an error, rather than fail silently).
On Aug 1, 12:25 pm, Mark Engelberg mark.engelb...@gmail.com wrote:
I just tested this in Clojure 1.2, and the bug is still there:
(contains? (transient #{1 2}) 1) -
On Aug 2, 2010, at 3:34 , Kyle Schaffrick wrote:
Hello,
I'm trying to write a library with two main parts. The first is a
macro, I'll call it 'with-feature, that walks through forms passed
inside it, and any time it sees a call to another function in my
library, 'feature, do some
23 matches
Mail list logo