If you have trouble viewing or submitting this form, you can fill it out
online:
https://docs.google.com/spreadsheet/viewform?formkey=dFpleU1QbVRyLWVXVElRMmJpQlpoYWc6MQ
Clojure Community Values
For no particular reason I got to thinking about things the Clojure
community values in the
Bug report: there's no don't know, can't decide, or they're
equal type of option. And it won't let you leave any blank either.
--
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
I'm building a large vector of longs from a lazy seq, and trying to
use vector-of in order to reduce the storage requirements. Although
there is no reflection warning (and I've turned on *warn-on-
reflection*), in my profiler I see that the majority of the time is
spent invoking
For those asking, the talks from this event were recorded. You can view
video recordings of each at this
link: http://skillsmatter.com/event/java-jee/real-world-clojure
If you're confused on where to click, the videos are marked as podcasts
by the venue host we use.
--
You received this
Cedric,
I agree that the other editors are simpler to set up, though probably
not by as wide a margin as your set of instructions might suggest.
If you just look at the bold headings in my post, the instructions
are:
1. Install JDK
2. Install Leiningen
3. Install Emacs
4. Install Clojure
I don't know how to submit a bug report, surely not as easy as just
mentioning it here -
Logically, and according to the descriptive part of the docstring, partial
should work with zero args, although according to the signature
specifrication part of the docstring, you would expect it to throw an
Hello, world !
Because that is my first post, I can not resist to say
Thank you !!! for clojure. I like it at lot.
When I type
(if true t f)
in a fresh REPL, I get the error
[...] Unable to resolve symbol: f [...]
But my interpretation of the reference ( http://clojure.org/special_forms#if
)
The ClojureScript
wikihttps://github.com/clojure/clojurescript/wiki/Differences-from-Clojurestates
that the user experience of [binding] is similar to that in
Clojure but my very first experiment produced wildly different results
between platforms.
Here's a Clojure on the JVM session:
user=
Hi, I'm using cljs-watch to cross compile generic Clojure code into
both class files and js files using the latest master Clojurescript
checkout; this all works wonderfully until I try to add a (:require-
macros ...) directive as follows:
// in xyz.base.view
(ns xyz.base.view
(:require ...
On Thu, Jan 26, 2012 at 5:16 PM, raschedh rasche...@gmail.com wrote:
Hello, world !
Because that is my first post, I can not resist to say
Thank you !!! for clojure. I like it at lot.
When I type
(if true t f)
in a fresh REPL, I get the error
[...] Unable to resolve symbol: f [...]
Are you somehow required to use the Java library?
Otherwise you could also use a Clojure map as a sparse matrix.
This will be much easier to implement.
Walter
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
On Fri, Jan 27, 2012 at 1:26 AM, philip k trevo.pa...@gmail.com wrote:
Hi, I'm using cljs-watch to cross compile generic Clojure code into
both class files and js files using the latest master Clojurescript
checkout; this all works wonderfully until I try to add a (:require-
macros ...)
On 25 January 2012 23:30, Bryce fiat.mo...@gmail.com wrote:
[...]
;All of these spend most of their time in reflection
(apply vector-of :int (range 1000))
(apply vector-of :int ^[J (range 1000))
(apply vector-of :int ^[J (long-array (range 1000)))
(apply vector-of :int ^{:tag
You should be calling Thread.start in the clojure version, not Thread.run.
Your set-timeout is just blocking for a while and then running the
passed-in function on the caller's thread.
- Chris
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post
I don't understand why the two functions below (recurs and transi) do
not produce the same result. To the best of my understanding doseq
will consume an entire sequence as demonstrated here:
user= (doseq [x (range 0 10)] (print x))
0123456789nil
user= *clojure-version*
{:major 1, :minor 3,
Please don't use transients unless you read and understand the
documentation.
On Jan 27, 2012 12:41 PM, Bill Robertson billrobertso...@gmail.com
wrote:
I don't understand why the two functions below (recurs and transi) do
not produce the same result. To the best of my understanding doseq
will
In this branch
https://github.com/clojure/clojurescript/compare/master...checked-arithmetic,
I've implemented one possible approach to checked arithmetic for
ClojureScript. In Clojure this means checking for overflow. In JavaScript a
much more common source of error is type coercion from the
On Fri, Jan 27, 2012 at 2:41 PM, Bill Robertson
billrobertso...@gmail.comwrote:
I don't understand why the two functions below (recurs and transi) do
not produce the same result. To the best of my understanding doseq
will consume an entire sequence as demonstrated here:
user= (doseq [x
I have read (doc transient), (doc assoc!) and (doc persistent!), and I
don't see what I'm missing, which is why I came here for help.
To my understanding, the first creates a transient collection, which
cannot be used in other threads, and cannot be used after converting
back to a persistent
On Fri, Jan 27, 2012 at 3:08 PM, Bill Robertson
billrobertso...@gmail.comwrote:
I have read (doc transient), (doc assoc!) and (doc persistent!), and I
don't see what I'm missing, which is why I came here for help.
The documentation here http://clojure.org/transients says:
Don't bash in place
I have read (doc transient), (doc assoc!) and (doc persistent!), and I
don't see what I'm missing, which is why I came here for help.
To my understanding, the first creates a transient collection, which
cannot be used in other threads, and cannot be used after converting
back to a persistent
Yes, I see that now. When I read When applied to a transient map,
adds mapping of key(s) to val(s) in the doc string, I understood that
to mean that it modified the existing map, and the (insufficient)
poking around that I did in the repl supported that. (actually did it
past 8 now - saw it fail
I get the error below when I run ClojureScript One's 'lein bootsrap'. Any ideas?
I'm pretty new to Clojure. This is my first time using Leiningen and first
attempt at using ClojureScript. ... pretty hopeless :-)
Mac OSX 10.7.2
Clojure 1.3.0
java version 1.6.0_29
Java(TM) SE Runtime Environment
Sure. I uploaded a minimal project here:
http://dl.dropbox.com/u/30225560/macros.tar.gz
The build.sh script just sets up the classpath as I didn't want any
additional dependencies on lein etc. The global classpath is properly
set up with clojure on it, $CLOJURRESCRIPT_HOME is set up as well.
Coming to a Maven repository near you within the next few hours.
Clojure release 1.4.0-alpha5
-
* CLJ-871 Instant reader literal
* CLJ-914 UUID reader literal
* Documentation for reader literals on clojure.core/*data-readers*
* Fix Ant build on JDK 1.7
2012/1/27 Roman Perepelitsa roman.perepeli...@gmail.com
Try (if t t blah) in common lisp, you'll get the same error.
I just tried it and it resolves to t in Common Lisp. Sorry about that :-/
Cedric's reply is the one you are looking for.
Roman Perepelitsa.
--
You received this message
2012/1/26 raschedh rasche...@gmail.com
(if true t f)
in a fresh REPL, I get the error
[...] Unable to resolve symbol: f [...]
In common lisp, for example:
(if t t f)
evaluates to t.
Try (if t t blah) in common lisp, you'll get the same error.
Roman Perepelitsa.
--
You received this
I appreciate the intent, Alex, but I am reluctant to say what we value,
since we on this list alone is nearly six thousand people.
*I* value most of these things, but I'm not going to try to speak for
anyone else. I've learned that lesson the hard way.
-S
--
You received this message because
A healthy mix of course! There even has been some research on the
second point. It turned out that unit tests and code review (=~
thinking) catch largely disjoint sets of bugs.
Other than that, you need to randomize X over Y vs Y over X in order
to get sound results.
On Jan 27, 3:25 pm,
On 1/27/12 9:11 AM, Walter van der Laan wrote:
Are you somehow required to use the Java library?
Otherwise you could also use a Clojure map as a sparse matrix.
This will be much easier to implement.
Using a clojure map to store a sparse matrix is not a good solution if
you plan on doing any
On 1/26/12 5:07 AM, Cedric Greevey wrote:
On Thu, Jan 26, 2012 at 5:54 AM, Tassilo Horntass...@member.fsf.org wrote:
Cedric Greeveycgree...@gmail.com writes:
On Thu, Jan 26, 2012 at 2:28 AM, Tassilo Horntass...@member.fsf.org wrote:
At least, it seems that (fn ^double [^double x] (+ x
Ben Mabey b...@benmabey.com writes:
Should a ticket be created for this then?
Yes, please. And add a link to this discussion.
Bye,
Tassilo
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Meikel has a solid bencode implementation that he's going to contribute; that's
what I'm using in my reboot of nrepl. I think the idea of having all of the
test interactions stored as file — maybe keeping the ones involving nontextual
data separate — is great, and should allow other nrepl
On Fri, Jan 27, 2012 at 1:40 PM, Stuart Sierra
the.stuart.sie...@gmail.com wrote:
*I* value most of these things, but I'm not going to try to speak for anyone
else. I've learned that lesson the hard way.
And I think the questions are deliberately loaded :)
--
Sean A Corfield -- (904) 302-SEAN
There's nothing wrong with getting deliberately loaded.
Sent from my iPhone
On Jan 27, 2012, at 7:45 PM, Sean Corfield seancorfi...@gmail.com wrote:
On Fri, Jan 27, 2012 at 1:40 PM, Stuart Sierra
the.stuart.sie...@gmail.com wrote:
*I* value most of these things, but I'm not going to try to
Not sure why that is happening. Can't reproduce it. What is supposed
to happen is that when swank-cdt is loaded, it should invoke the emacs
lisp to define those keystrokes.
Until I figure it out, try adding the following to your .emacs. Let
me know if that fixes it.
g
(progn (defun
Sorry, the elisp got scrambled in the post.
Get it from here:
http://georgejahad.com/clojure/swank-cdt-helper.el
On Jan 27, 7:15 pm, George Jahad cloj...@blackbirdsystems.net wrote:
Not sure why that is happening. Can't reproduce it. What is supposed
to happen is that when swank-cdt is
37 matches
Mail list logo