I've been hacking around with jars in clojure recently. You might find
some ideas here: https://gist.github.com/1300472
// Ben
On Wed, Oct 19, 2011 at 14:34, mmwaikar wrote:
> But then why does this fail -
>
> (slurp (.getInputStream (first (enumeration-seq (.entries f)
>
> with - No matchin
The current syntax is just ^
(defn filenames-in-jar [^JarFile jar-file] ...)
On Thu, Oct 20, 2011 at 07:03, mmwaikar wrote:
> Hi,
>
> I read in "Clojure in Action" book by Amit Rathore, that #^ associates
> metadata for the next form. He also mentions that it is deprecated. So what
> is the curr
I've attached a RFC patch based on this idea to CLJ-855.
http://dev.clojure.org/jira/browse/CLJ-855
// Ben
On Wed, Oct 12, 2011 at 22:02, Stefan Kamphausen wrote:
> Just for the record: That's how I understood Ivan's idea, too. Introduce a
> special exception type which is used nowhere else a
I've already figured out how it works and have found the same 2:1
ratio. (This time on my 1.4GHz MacBook Air; The previous tests were on
a 2.4 GHz Core2Duo running Linux.)
When I did the quick-and-dirty benchmarking this afternoon I used
larger random inputs (1 to 8 MiB) allowing me to calculate a
Cool!
I did some quick-and-dirty benchmarking of it this afternoon (GMT+2)
and got between 50 and 70 MiB/s on my machine. The Apache
implementation used for comparison by the unit tests came in at
between 30 and 40 MiB/s. Impressive.
I've since seen perf_base64.clj go in, though I'm not clear on
See also:
http://dev.clojure.org/jira/browse/CLJ-838
I've submitted some patches there to recode changes.txt to Markdown a
week or two ago. I updated it last night for f0b092b66 "more
changes.txt tweaks"
// Ben
On Sat, Sep 24, 2011 at 15:47, Mark Nutter wrote:
> Totally awesome, thanks to ever
http://dev.clojure.org/display/doc/1.3
def's can already have doc strings, though it's not very convenient:
(def ^{:doc "documentation"} x 1)
Can someone give me a simple example?
// Ben
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to t
On Tue, Aug 23, 2011 at 09:44, Mark Engelberg wrote:
> I had always assumed that vectors were sorted lexicographically. In
> other words, you sort on the first element, and then refine by the
> second element, and so on. I was surprised tonight to discover that
> is not the case.
>
>> (compare "
This. 1000 times this.
Don't clutter your source code with this kind of stuff. It'll just
cause you pain down the road. (Say, when merging two branches.)
// ben
On Wed, Aug 3, 2011 at 23:36, Sean Corfield wrote:
> I think Joop meant to use the change history in your version control system
> dir
On Tue, Jul 19, 2011 at 16:11, Ken Wesson wrote:
> On Tue, Jul 19, 2011 at 10:05 AM, Colin Yates wrote:
>> I find his videos very easy to watch - I think it was around a hour, but the
>> time flies by.
>
> An hour of Will Smith blasting aliens "flies by". An hour of a talking
> head is better pre
Clojure does not allow cyclic dependencies between namespaces.
Java does allow cyclic dependencies between classes.
I'm not familiar with "appengine-clj". Are you certain that
appengine.datastore is Clojure code, not Java code? If it's Java you
should be using import.
// Ben
On Sat, Jul 16, 201
On Thu, Jul 14, 2011 at 19:12, Claudia Doppioslash
wrote:
> My Clojure circle is all set up but empty.
> My g+ is: http://gplus.to/gattoclaudia
>
> Please add link to your profile below.
https://plus.google.com/117672714007923674182
// Ben
--
You received this message because you are subscribe
On Wed, Jul 13, 2011 at 08:43, Meikel Brandmeyer wrote:
> Hi,
>
> I think the culprit is here:
> https://github.com/clojure/clojure/blob/5f9d6a02c530a02251197e1b844af37440a6b569/src/clj/clojure/core/protocols.clj#L64
>
> The line "(recur cls (next s) f (f val (first s)))" must be written as
>
> (l
On Wed, Jul 13, 2011 at 02:33, Ghadi Shayban wrote:
>
> I put up a simple demo that implements a piece table data structure in
> Clojure
>
> (This is totally an excuse to use finger trees, which Chris Houser
> implemented and excellently presented at the first conj)
>
> A piece table is good for b
101 - 114 of 114 matches
Mail list logo