On Sep 9, 8:04 pm, Sean Corfield wrote:
> On Fri, Sep 9, 2011 at 1:09 AM, Jan Rychter wrote:
[...]
> > I think issues like that are fundamentally important if Clojure is to
> > be adopted for production work.
>
> I agree - which is why I'm pushing on clojure-dev for some serious
> attention to be
On Sat, Sep 10, 2011 at 5:59 AM, Jan Rychter wrote:
> On Sep 9, 8:04 pm, Sean Corfield wrote:
> > On Fri, Sep 9, 2011 at 1:09 AM, Jan Rychter wrote:
> [...]
> > > I think issues like that are fundamentally important if Clojure is to
> > > be adopted for production work.
> >
> > I agree - which
+1
We have production code here and would like to see 1.3 out even if the contrib
issue
resolve itself later. The first stable release of 1.3 needs to get used as
widely
as possible.
If some issues emerge in 1.3 it would be better to know it as early as possible.
There are significant blocks of
David Nolen writes:
> Waiting for contrib authors to sort out their libraries seems
> unrelated as to whether 1.3 should or should not be released. That's
> like delaying Python 3 because libraries don't support it yet. It
> still wouldn't be released.
Except that Python 3 comes bundled with many
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi there,
what's the currently best way to debug a clojure program?
ideally, i want to see all vars, symbols, functions etc. that are in
the current scope and be able evaluate expressions on the fly
a "start repl here and stop program until repl is
I'm trying to do something like this in ClojureScript:
(classes/add (nth (children (dom/getElement "topbar")) idx)
"selected"))
However I'm not sure what "children" should be. I tried (.children but
that doesn't seem to work with nth. So I guess, in genera
On Sep 10, 5:20 pm, Steve Purcell wrote:
> David Nolen writes:
> > Waiting for contrib authors to sort out their libraries seems
> > unrelated as to whether 1.3 should or should not be released. That's
> > like delaying Python 3 because libraries don't support it yet. It
> > still wouldn't be rel
On Sat, Sep 10, 2011 at 12:46 PM, Jan Rychter wrote:
> On Sep 10, 5:20 pm, Steve Purcell wrote:
> > David Nolen writes:
> > > Waiting for contrib authors to sort out their libraries seems
> > > unrelated as to whether 1.3 should or should not be released. That's
> > > like delaying Python 3 bec
C in S-expression approach might be helpful, if you just want to write
C in Clojure syntax.
The advantage of this pure translator approach is you can fully
recognize what you do.
Such implementation already exist in Scheme.
http://practical-scheme.net/gauche/man/gauche-refe_76.html
I think transla
> My worry is that the decoupling of "core Clojure" from contrib will
> result in contrib authors not caring too much about sorting out the
> current situation. Also, I think much of the fanfare of the 1.3
> release will be shadowed by the contrib situation. And perhaps most
> importantly, I worry
On Sat, Sep 10, 2011 at 2:59 AM, Jan Rychter wrote:
> Thanks for the explanations. I'll summarize: clojure-contrib is being
> reorganized. There is no clear migration path for applications that
> use the monolithic 1.2 contrib. Not all of 1.2 contrib code made its
> way into new modules yet. There
On Fri, Sep 9, 2011 at 11:04 AM, Sean Corfield wrote:
> On Fri, Sep 9, 2011 at 1:09 AM, Jan Rychter wrote:
>> Take an example -- even in the relatively simple case of
>> clojure.contrib.combinatorics: note that it is NOT listed on
>> http://dev.clojure.org/display/doc/Clojure+Contrib, and if I fo
On Sat, Sep 10, 2011 at 9:46 AM, Jan Rychter wrote:
> If you use Clojure to build an application that you subsequently
> launch and maintain, it is pretty much a given that you use contrib.
> Lots of it, in fact.
I think that depends on when you started building stuff with Clojure.
I get the impr
You can use goog.dom/getChildren to get the children (I think it will
exclude the non-Nodes such as text and comments ) but it will return
an HTMLCollection doesn t implement ISeq, so you need to transform it
to a regular js array with goog.array/toArray.
something along these lines:
(ns dom-mani
On Sep 10, 9:33 pm, Max Penet wrote:
> You can use goog.dom/getChildren to get the children (I think it will
> exclude the non-Nodes such as text and comments)
I meant "non Element Nodes"
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to
+1
We were in production in Jan 2009 before Clojure 1.0 came out.
We face the issue of un-rooting ourselves from the "old" contrib stuff.
After analysis, 97% of the stuff we need from the "old" contrib is now
available in 1.3
as separate libs.
The only thing we would like to keep is the trace m
On Sat, Sep 10, 2011 at 2:52 PM, Luc Prefontaine
wrote:
> We were in production in Jan 2009 before Clojure 1.0 came out.
> We face the issue of un-rooting ourselves from the "old" contrib stuff.
>
> After analysis, 97% of the stuff we need from the "old" contrib is now
> available in 1.3
> as sep
A function name contains the characters ->
e.g. foo->fn
The function causes an exception.
However the exception is not reported on the function but on another
function called before it.
java.lang.IllegalArgumentException: Wrong number of args (1) passed
to: datetime$other-fn
If the > charac
Greetings,
I would greatly appreciate any guidance on where to find a working and
complete set of instructions for how to set up Emacs with swank-
clojure. I am in Ubuntu.
I have followed exactly every step of the instructions on this page
http://dev.clojure.org/display/doc/Getting+Started+with+E
I'm a clojure beginner and from the future api , the only way I found
to create a future from another is to block the resulting future's
thread with 'deref'. I'm a little bit afraid of exhausting my thread
pool.
For example:
(def x (future 1))
(def y (future (+ 1 @x)))
y will block and consume a th
Greetings, Clojurers!
I've been playing with clojure, particularly with lazy sequences.
Some of the
results have left me puzzled, so I saved a REPL session wherein I
illustrate the points
of puzzlement. REPL lines are indented below; added comments are
unindented.
Clojure 1.2.1
I define a
the future thread pool is unbounded (it uses the same thread pool as send-off).
I have a library for composing async tasks like futures:
https://github.com/hiredman/die-geister
On Sat, Sep 10, 2011 at 12:12 PM, Illim wrote:
> I'm a clojure beginner and from the future api , the only way I found
This was quite helpful for me.
http://technomancy.us/149
On Sat, Sep 10, 2011 at 1:29 PM, Curran wrote:
>
> Greetings,
>
> I would greatly appreciate any guidance on where to find a working and
> complete set of instructions for how to set up Emacs with swank-
> clojure. I am in Ubuntu.
>
> I hav
Follow these instructions, it will work..
http://riddell.us/ClojureWithEmacsSlimeSwankOnUbuntu.html
On 11 September 2011 10:15, Brian Mosley wrote:
> This was quite helpful for me.
> http://technomancy.us/149
>
> On Sat, Sep 10, 2011 at 1:29 PM, Curran wrote:
> >
> > Greetings,
> >
> > I would
Hello,
Would it make sense to use instead promise/deliver, and enque computations
in order in agents queues ? (worse parallelism, but more control over the
number of threads ?)
2011/9/10 Illim
> I'm a clojure beginner and from the future api , the only way I found
> to create a future from anot
I hate to see agents used this way. If people want a thread pool they
should either use the ones provided by clojure, or create their own.
Using agents when you want a thread pool smacks of ignorance.
http://download.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html
You ca
26 matches
Mail list logo