http://groups.google.com/group/clojure/search?group=clojure&q=control-c+repl
Or you could use some REPL front-end (Emacs or the IDE of your choice)
that takes care of this for you.
-Per
On Fri, Apr 16, 2010 at 1:06 PM, Brian Watkins wrote:
> Is there a way to interrupt the Repl when I've set to
Is there a way to interrupt the Repl when I've set to some kind of
infinite loop without also shutting down the JVM entirely?
--
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
Thank you very much!
On Fri, Apr 16, 2010 at 1:18 AM, Per Vognsen wrote:
> You can rebind *prxml-indent*. It's by nil by default, which means no
> indentation and (confusingly) no line breaks. If you set it to 0, you
> will get line breaks but with no indentation. With a greater value,
> you will
You can rebind *prxml-indent*. It's by nil by default, which means no
indentation and (confusingly) no line breaks. If you set it to 0, you
will get line breaks but with no indentation. With a greater value,
you will get line breaks with indentation. If you had looked at the
code, this should have
That sounds weird. If you know what keys weren't making it into the
index as expected, did you try reducing the problem to a smaller test
case involving those exceptional keys?
-Per
On Fri, Apr 16, 2010 at 11:50 AM, Luc Préfontaine
wrote:
> Hi all,
>
> I tripped over something strange yesterday.
Is there any written rationale for direct binding? It sounds like a
poor man's inlining, except we already have perfectly good opt-in
inlining.
If these screwy semantics are to remain, an absolute minimum courtesy
would be for 'binding' to throw an exception at macro expansion time
when one tries
Is it possible to have customize clojure.contrib.prxml's output?
the following
(prxml [:field {:name "id"} 1]
[:field {:name "name"} "me"])
produces
1me
which becomes very hard to read when you have a bunch of fields. How
do I at least
add a newline after each of them, or maybe even ind
Hi all,
I tripped over something strange yesterday. I work on a tool to create
reports in the REPL from data in an SQL database.
Instead of building SQL statements with complex where clauses, the user
can defined which tables/fields he wants to fetch
and then he can work on these locally.
I imple
On Thu, Apr 15, 2010 at 6:27 AM, Joost wrote:
> But on the master branches I get:
>
> $ java -server -Djava.net.preferIPv4Stack=true -Dpid=30893 -
> Djava.awt.headless=true -cp /home/joost/lib/clojure/clojure-1.2.0-
> master-SNAPSHOT.jar:/home/joost/lib/clojure-contrib/clojure-
> contrib.jar cloj
On Thu, Apr 15, 2010 at 8:22 PM, kyle smith wrote:
> On Apr 8, 10:56 pm, Phil Hagelberg wrote:
>> You'll notice 90% of the "I'm having trouble with Emacs" posts have
>> one thing in common: they all start with "I'm trying to install
>> without ELPA".
>
> You're assuming people haven't already tri
On Apr 8, 10:56 pm, Phil Hagelberg wrote:
> You'll notice 90% of the "I'm having trouble with Emacs" posts have
> one thing in common: they all start with "I'm trying to install
> without ELPA".
You're assuming people haven't already tried ELPA before resorting to
manual installation. I tried li
On Fri, Apr 16, 2010 at 3:16 AM, TimDaly wrote:
> This might be interesting when the discussion of events vs threads
> comes up:
> http://www.usenix.org/events/hotos03/tech/full_papers/vonbehren/vonbehren_html/
>
> Essentially they argue that thread programming can scale (100k
> threads?)
This is
Hi *,
Last Wednesday at Amsterdam Clojurians Meetup http://bit.ly/akuN8F we
created clansi http://bit.ly/bLzHH2 .
Clansi is first step in our effort to make REPL a bit more friendly,
it make ANSI colors and styles easy in Clojure.
Intention is to provide easy way to swap clojure.core/doc with colo
This might be interesting when the discussion of events vs threads
comes up:
http://www.usenix.org/events/hotos03/tech/full_papers/vonbehren/vonbehren_html/
Essentially they argue that thread programming can scale (100k
threads?)
--
You received this message because you are subscribed to the Goo
You are added. Thanks!
I'll take a stab at it.Can you add me as a member of clojure-
contrib space, or should I ask on Clojure Dev? I've already
submitted a CA and my assembla UN is "josharnold"
On Apr 14, 9:50 pm, Stuart Halloway wrote:
clojure.contrib.io is one of the most used librar
I'll take a stab at it.Can you add me as a member of clojure-
contrib space, or should I ask on Clojure Dev? I've already
submitted a CA and my assembla UN is "josharnold"
On Apr 14, 9:50 pm, Stuart Halloway wrote:
> clojure.contrib.io is one of the most used libraries in contrib, and
> i
On Wed, Apr 14, 2010 at 5:42 PM, gary ng wrote:
> like environment for clojure ? By that, I mean not just the messaging
> passing(which as far as I can tell for clojure is within the same process)
see things like terracotta
> but its live update and sending symbols(and as far as I know functions
Hi,
On Apr 15, 3:30 pm, Sean Devlin wrote:
> If you break the build, that means you're doing the job RIGHT :-p
Hmm... test might have bugs, too! ;P
Sincerely
Meikel
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email
Hello Meikel,
ah, interesting. I didnt know about seque. That sound fit. Cool!
The answers may return in different order for different reasons.
A: Q1 -some question
A: Q2 - "Are you still alive."
B: A2 - "Alive an kicking."
B: A1 - some answer.
A: A3 - other question
B: Info: Service paused.
...
Aah. ;-)
Hello Per, thanks for pointing to the big Roy. I should have someone
do this to me every other day until I finally read it ;-)
Looking at you code, I understand why I didn't come up with it - I
still have to do some basic Clojure lessions. Very cool. I didnt
expect this to be such a few
There's a bonus to starting out providing tests as well:
If you break the build, that means you're doing the job RIGHT :-p
Who's got a bug?
Sean
On Apr 14, 9:50 pm, Stuart Halloway wrote:
> clojure.contrib.io is one of the most used libraries in contrib, and
> it has few automated tests. I h
Hello,
The following works on the 1.1.0 release of both clojure and
clojure.contrib:
$ java -server -Djava.net.preferIPv4Stack=true -Dpid=30893 -
Djava.awt.headless=true -cp clojure-1.1.0/clojure.jar:clojure-
contrib-1.1.0/clojure-contrib.jar clojure.main
Clojure 1.1.0
user=> (use 'clojure.contr
The first thing I ever implemented with promises was dataflow
programming in this style. A good read is the chapter on declarative
concurrency in Peter van Roy's Concepts, Techniques and Models of
Computer Programming. Oz has the concept of concurrent
single-assignment variables, which are much the
Hi,
On Apr 15, 2:10 pm, alux wrote:
> Its streams, I completely agree.
Might answers return in different orders?
Fred: What do you think about the Smith contract?
Fred: Left at the lights, right?
Bob: yes, left
Bob: uncomfortable
> And now I'm not sure whether the blocking permits to be a seq
Hello Anniepoo,
thank you for the answer. I t made me think in new directions,
splendid!
Its streams, I completely agree. What I still try is mapping this to
the ubiquitous Clojure-sequences. And what I came up with is seeing
the stream as blocking lazy sequence of strings (the lines), that can
t
One could always piggy back Clojure onto Erlang's distributed
environment via Java interop, though that would require a bit of
legwork.
On Wed, Apr 14, 2010 at 8:17 PM, Wilson MacGyver wrote:
> the closest thing I know is the remote REPL for clojure.
>
> but if you are looking for erlang's style
What do you mean by "similar functionality"? Without using mutable
state, you won't be able to retain the defnode-style interface. But
obviously a twenty-questions program like this is easy to implement in
a purely functional way:
(defn ask [questions node]
(let [data (questions node)]
(asse
Hi,
> (defmulti new-obj #(:_fenrir_class-name %))
You defined your function as #(:_fenrir_class-name %), so it will take
only one argument.
> However, when I call the multimethod with something like this:
>
> (new-obj fGameObject :location 'a-loc :sprite 'a-sprite)
>
> I get this error:
>
> 1:14
28 matches
Mail list logo