Hi,
ok. Let's show off some environments.
I work at home on the small MacBook. Although I was first skeptical about the
VimRepl I now mostly use it as Repl. I found that easy deleting of output
(eg. a stacktrace) is quite nice to keep interesting things on the screen. One
just has to keep the
Hi,
Am 12.02.2010 um 14:18 schrieb Quzanti:
I looked at all of them and would have liked to go with VIM as I am a
VIM user. For VIM it looked like I was going to have to go though some
elaborate procedure (there was a webcast for it) rather than just
stuff a config file in a directory so I
My rule of thumb is to place items into maps if there are more than
2-3 elements- After that point, it becomes hard to read code that
manipulates a raw vector without position labels. Of course I have
allowances for performance-sensitive situations.
On Feb 12, 10:36 pm, Hozumi
In reference to this thread on the clojure-dev group:
http://groups.google.com/group/clojure-dev/browse_thread/thread/369734ff42cbb06a/cc9e30534c78b6b3?lnk=gstq=sql+println#cc9e30534c78b6b3
Has there been any resolution?
I'm using clojure.contrib.sql and Emacs with clojure-swank. When an
error
Hello all,
Is there any interest in GSoC 2010 for Clojure?
Devin Walters
--
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
Thanks Adrian et al.
I am going to remove recur from try catch special form. (BTW: doseq is
not the case since I need to modify freely the collection during
looping)
On the other hand I am curios whether no recur inside the try-catch
special form might be adopted as a rule of thumb. It is
La Clojure is working fine for me. The problem seems to be simply one
of version numbering.
If you let Idea auto-download/auto-install the plugin, chances are
you'll get a plugin that specifies an Idea version number different
from the one you're running.
I downloaded the plugin by hand, found
Hi,
I just finished my first (very small) Clojure program. I come from
Java, so it will be everything but idiomatic Clojure, so I post it
here and you may give as much criticism as you want. I'm here to
learn.
It implements JHConway prime machine. The program does not want to be
a quick prime
Hi!
Yesterday I installed Slime Clojure via ELPA. Unfortunately, the
REPL had no indent support for [] and {}. So this workaround runs in a
slime-repl-mode-hook:
(defun set-clojure-brackets ()
(interactive)
(set-syntax-table clojure-mode-syntax-table)
(set (make-local-variable
Alux,
Welcome to Clojrue! Thanks for posting this example.
At first glance I would combine power-of-two? and what-power-of-2 into
one fn. Also, I would change the order you wrote the method calls in
to favor the .method style
(defn power-of-2
Returns log_2(n) iff n is an exact pwoer of 2.
With the latest intelliJ 9.0.1, la clojure now just works. It's back to
click on plugins, pick la clojure, install and restart. Done.
On Feb 13, 2010 10:40 AM, Carl Smotricz carl.smotr...@gmail.com wrote:
La Clojure is working fine for me. The problem seems to be simply one
of version numbering.
The above thread suggests defining *err* as a PrintWriter instead of
as a Writer. Has this been patched, and is it official? If so, I'll
patch clojure-swank to use PrintWriter. If not, I'll patch
clojure.contrib.sql to not use println.
I patched swank-clojure:
diff --git
Recently, I've been taking advantage of the rich API for manipulating
clojure's builtin data structures such as Maps and Vectors. In a small
example, I have different user settings stored as maps and I can
easily merge them using the function merge. As I've developed the
application further,
I think Phil is writing a guide about how he wants others to send him
patches but I think I can still provide some hints. First, I think
this belongs in swank-clojure.el its the only place where the context
of a clojure repl comes up. Phil prefers pull requests so fork swank-
clojure (I only know
Wilson MacGyver wmacgy...@gmail.com writes:
With the latest intelliJ 9.0.1, la clojure now just works.
On /one/ of my computers running Windows XP, I find that the REPL
doesn't start properly. Tracing IDEA and Java through Process Monitor,
it looks as though Java's attempt to open clojure.jar
On 13 Feb 2010, at 19:03, Richard Newman wrote:
The above thread suggests defining *err* as a PrintWriter instead of
as a Writer. Has this been patched, and is it official? If so, I'll
patch clojure-swank to use PrintWriter. If not, I'll patch
clojure.contrib.sql to not use println.
I
All,
I've switched the clj-peg library to be under the EPL.
This project adds support in Clojure for Parsing Expression
Grammarshttp://en.wikipedia.org/wiki/Parsing_expression_grammar.
In addition to the basic operators I've added tracking AST branches,
referring to tracked branches, gathering
I thought it would be nice to share my first Clojure-code.
http://github.com/LaPingvino/Calculator-with-Parens/blob/master/src/calculator.clj
--
Communication is essential. So we need decent tools when communication is
lacking, when language capability is hard to acquire...
-
On Sat, Feb 13, 2010 at 5:33 PM, Brendan Ribera brendan.rib...@gmail.comwrote:
Cool! I'll probably make use of this soon. Any plans to get it set up on
github for contributions?
No plans right now. I'm open to the idea, but I'd like to see what it's like
to work with contributions in the
On Sat, Feb 13, 2010 at 2:46 PM, Brent Millare brent.mill...@gmail.comwrote:
I'm interested in your thoughts, criticisms and improvements. I feel
like this seemed like a place for monads given all the packaging,
function passing, partial functions, and threading but trying to
understand
Does anyone have ClojureCLR running under emacs via slime?
Failing that, can anyone give me some pointers as to how I might
hacking swank-clojure.el (or whatever) to get this to work?
Mike
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to
I was doing some experimenting with deftypes this evening. I
understand that you need to specify clojure.lang.IPersistentMap as an
interface in order to make your type behave like a general-purpose map
(supporting assoc, dissoc, etc.).
After playing around, I think it would be ideal that if you
I've got two questions about namespaces; one is pretty
clojure-specific, the other possibly more related to java's classpath
stuff.
First, is there either a way to use names that exist in clojure.core?
I.e., if wanted variable called map, can I get it somehow? If not, is
there an idiom for such
On 14 February 2010 08:09, Mike Meyer
mwm-keyword-googlegroups.620...@mired.org wrote:
First, is there either a way to use names that exist in clojure.core?
I.e., if wanted variable called map, can I get it somehow? If not, is
there an idiom for such names, akin to Python's use of a postfix _
You should be able to do (assoc p :x 3), you should get back #:Posn{:x
1, :y 2}
You meant that you get back #:Posn{:x 3, :y 2}, right? Sounds
reasonable to me.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Yes, that's what I meant :) .
On Sat, Feb 13, 2010 at 11:27 PM, Brendan Ribera
brendan.rib...@gmail.com wrote:
You should be able to do (assoc p :x 3), you should get back #:Posn{:x
1, :y 2}
You meant that you get back #:Posn{:x 3, :y 2}, right? Sounds reasonable to
me.
--
You received
26 matches
Mail list logo