As a test, I replaced the mapcat with a plain map in the slow version:
(defn collapse-slow [col pred rep]
(let [f (fn [[x more :as xs]] (if (pred x) [rep] xs))]
(map f (partition-by #(if (pred %) true) col
Is that the concat you were thinking of?
Ignoring that the functions aren't
I hate +1 emails, but this is essentially just that.
Java Concurrency in Practice gets my vote as the most important book
to read about Java. I always keep it and Effective Java close at
hand. Both of these are references for when you know some java;
they're not really tutorials.
I haven't
I've been struggling with the same issues (on Windows, not that it
appears to matter).
The line 23 in the error means the 23rd line of the function
vimclojure#ExecuteNailWithInput(nail, input, ...) in vimfiles/autoload/
vimclojure.vim. It's unrelated to the code you're trying to execute.
I dug
I've had this one. For me it was failure to have vimclojure.jar in
the classpath of the nailgun server.
Here's how I start the server on Windows:
@echo off
set VIMCLOJURE_JAR=c:\vim\vimfiles\vimclojure.jar
set CLOJURE_JAR=c:\java\clojure-read-only\clojure.jar
set
I've got it up and running on Windows and it looks great. Thanks
Meikel!
On Mar 10, 7:36 pm, Meikel Brandmeyer m...@kotka.de wrote:
Dear vimming Clojurians,
I'm proud to announce VimClojure 2.0!
I want to thank durka42 on #clojure for being a
patient guinea pig - eh - beta tester, finding
Hi Meikel,
On Jan 21, 3:01 pm, Meikel Brandmeyer m...@kotka.de wrote:
There was a breakage some time ago, which made it necessary
to release a bug fix release. The revisions are named on the
vim.org page, where you can download Gorilla. Please check
there if this solves your problem. If not,
Hi all,
Anyone else having issues with Gorilla with recent SVN builds of
clojure and clojure-contrib? What I'm seeing is that the main
commands (es, et, eb, ef, etc.) work as usual, but the in-Vim Repl,
doesn't seem to display any evaluation output. No errors on stdout of
the gorilla server.
clojure-contrib)
I just tried the above command and it's good for me, so if it doesn't
work for you, then this is more than a typo thing (maybe network as
you suggest) and my expertise is probably at its end :)
On Jan 14, 8:15 am, Paul Drummond paul.drumm...@iode.co.uk wrote:
2009/1/14 Mark Feeney
Report from the field: I got this working on Windows XP with gvim 7.2
and Ruby 1.8.6-26. No special hacking required, the default Windows
binary installs of Vim and Ruby seem to just work together.
I've only done trivial tests so far, but the basic Clojure integration
is working. I'm sure