Weird - I installed the Cocoa build last night, and got everything set
up via elpa including swank-clojure. Some local problem?
Regards,
Thomas Kjeldahl Nilsson
On Sun, Jun 13, 2010 at 2:02 AM, Rob Lachlan robertlach...@gmail.com wrote:
I agree that the cocoa builds are the nicest. But there
Hello Guys!
Here is the task:
Assume that we have function called `fetch-from-source`, which used to
fetch vector of maps from the data source. I want to make iteration on
every fetched row (element of vector) and ask `fetch-from-source`
again to add 'children' key to that row. And so on, until
On Sun, Jun 13, 2010 at 7:35 PM, Oleg oleg.richa...@gmail.com wrote:
Currently i'm just calling function, but there is a danger of
StackOverflow. I can't use recur, because it's not last statement. As
i can understand recur is good to build long sequences, but in my case
i'm building
Thank you, but could you provide me a little code snippet which will
iterate through collection and assoc children key for each row.
On 13 июн, 16:35, Andrzej ndrwr...@googlemail.com wrote:
On Sun, Jun 13, 2010 at 7:35 PM, Oleg oleg.richa...@gmail.com wrote:
Currently i'm just calling
Thanks for comments.
In fact, I have some other thing to recommend.
I think that there should be some kind of clojure standard library. I
don't see how to write any code if I have to have 2 different versions
depending on underlying virtual machine, JVM or CLR. There are 3 python
implementations
Thanks for comments.
In fact, I have some other thing to recommend.
I think that there should be some kind of clojure standard library.
I don't see how to write any code if I have to have 2 different
versions depending on underlying virtual machine, JVM or CLR. There
are 3 python implementations
On Thu, Jun 10, 2010 at 4:32 AM, Chas Emerick cemer...@snowtide.com wrote:
- Clutch to interface to CouchDB (which we abuse as a message queue, among
other things)
Can you comment on the choice of Clutch over clojure-couchdb? I've
found clojure-couchdb to be reliable and straightforward.
There is an old patch that was contributed to the list:
http://groups.google.com/group/clojure/browse_thread/thread/aa22a709501a64ac
I'm also interested in this, it would be a nice extension point have
without having to patch clojure.core.
On Jun 10, 6:58 pm, James Reeves
On Jun 8, 1:34 pm, Krukow karl.kru...@gmail.com wrote:
I would like to hear the groups opinion before (and if) I release this
to the general public.
http://github.com/krukow/clj-ds
I really like this approach.
Not sure if it's any use, but I created a data structure library of my
own in Java
When i eval code from Google App Engine SDK clojure throws very
strange class cast exception. I put this code into Java class, then
eval this class from clojure - and there is no problem.
Is this Clojure bug?
Source example:
http://goo.gl/cjjt
--
You received this message because you are
Hi everyone,
I'm 100% new to LISP, 95% new to Java, and 90% new to programming in
general. Where and how would you recommend learning Clojure? I'm
planning on buying Programming Clojure, but until then what would you
suggest?
I got Netbeans working with Clojure and the default template is this:
I was in much the same position as you a few months ago. Refactoring
Compojure to use the Ring libraries took a lot of work, so I have an
idea of the amount of effort involved :)
I've added the latest version of Ring to Conjure, but I haven't
updated the cookies or parameters yet. Otherwise,
Hi,
Am 12.06.2010 um 06:08 schrieb zahardzhan:
When i eval code from Google App Engine SDK clojure throws very
strange class cast exception. I put this code into Java class, then
eval this class from clojure - and there is no problem.
Is this Clojure bug?
No. Try (LocalServiceTestHelper.
Probably, but I'm at a loss to figure out exactly what it might be. I
cleaned emacs off, along with the .emacs.d directory, reinstalled, and
the problem reappeared. I'm not touching it right now since, as I
mentioned, I managed too bootstrap using aquamacs.
On Jun 13, 12:42 am, Thomas Kjeldahl
Yup, I would like to know why you chose clutch over clojure-couchdb
too. (I don't want to insinuate that clojure-couchdb is the better
lib)
On Thu, Jun 10, 2010 at 9:39 PM, Jim Blomo jim.bl...@gmail.com wrote:
On Thu, Jun 10, 2010 at 4:32 AM, Chas Emerick cemer...@snowtide.com wrote:
- Clutch
If your are new to programming I recommend reading at least the first
three chapters of The Structure and Interpretation of Computer
Programs. It's available online.
David
On Friday, June 11, 2010, Jared tri...@gmail.com wrote:
Hi everyone,
I'm 100% new to LISP, 95% new to Java, and 90% new
Hello,
I would like to re-bind some functions from a namespace with a macro.
The list of functions to rebind should be determined at
macro-expansion-time, the functions to rebind are marked with a
special metadata-entry.
I implemented it in the this gist: http://gist.github.com/436786
Can
I don't think that Structure and Interpretion of Computer Programs is
a good first-book if you want to start lisp-programming (Especially
Clojure). It's very detailed and gives much insights, but Clojure is
way more practical than this book. If you want to start programming
Clojure, I'd recommend
On 13 June 2010 14:20, Matt macourt...@gmail.com wrote:
Yesterday morning, I took one more look at Leiningen for Conjure.
After a few false starts and build hacking, I had exactly the same
idea for a Conjure plugin for Leiningen. I've started breaking Conjure
into two jars, conjure.jar which
Hi,
Am 13.06.2010 um 18:31 schrieb Moritz Ulrich:
Thanks for your answers.
Wouldn't it be more appropriate to have a *server* Var, which is allowed to be
rebound by the user? The function can still use optional arguments to configure
the server directly in a call.
(declare *server*)
(defn
Hi,
I get an exception whenever I put a colon in a multiline comment:
(comment
TODO: x y z
)
= #CompilerException java.lang.Exception: Invalid token: TODO:
Is this a Clojure bug? Or related to Enclojure on NetBeans? Or some
sort of hidden feature in comments?
Regards
jf
--
You received
comment just is a function that says 'don't evaluate the stuff in here, it
still needs to be correct clojure code you can either use:
; TODO: x y z
or
#_(Todo: x y z)
On Jun 13, 2010, at 16:13 , j-g-faustus wrote:
Hi,
I get an exception whenever I put a colon in a multiline comment:
This was in the original branch of the clojure-couchdb-project. I
forked it and rewrote all functions to take an argument instead of
using *server*.
This annoyed me, because it was complicated to use multiple servers
with one codebase (binding is annoying in multi-thread-applications).
On Sun,
Hi,
Am 13.06.2010 um 19:50 schrieb Heinz N. Gies:
comment just is a function that says 'don't evaluate the stuff in here, it
still needs to be correct clojure code you can either use:
; TODO: x y z
or
#_(Todo: x y z)
Note that after #_ it must also be valid code.
Sincerely
Meikel
--
Hi,
On 13 Jun., 19:55, Moritz Ulrich ulrich.mor...@googlemail.com wrote:
This was in the original branch of the clojure-couchdb-project. I
forked it and rewrote all functions to take an argument instead of
using *server*.
This annoyed me, because it was complicated to use multiple servers
Huh? I don't see why I wire server at macro expansion time. You can
pass a variable and it'll be integrated in the emitted code.
(with-server (concat http://; localhost :5984)
(database-list))
will expand to
(binding [database-list (partial database-list (concat http://;
localhost :5984))]
Sorry for the second mail - I've just improved the macro so server is
only evaluated once (It's side-effect save now)
On Sun, Jun 13, 2010 at 9:50 PM, Moritz Ulrich
ulrich.mor...@googlemail.com wrote:
Huh? I don't see why I wire server at macro expansion time. You can
pass a variable and it'll
Hi Clojurians,
This weekend, while off the grid, I discovered that mvn clojure:swank
and M-x slime-connect no longer talk to eachother.
When I got back, I looked in M-x package-list-packages to see that
there had been updates to clojure-mode (1.7.2), clojure-test-mode
(1.4), slime (20100404).
Hi,
Am 13.06.2010 um 21:50 schrieb Moritz Ulrich:
Huh? I don't see why I wire server at macro expansion time. You can
pass a variable and it'll be integrated in the emitted code.
(with-server (concat http://; localhost :5984)
(database-list))
will expand to
(binding [database-list
There are some bugs in package.el that I have fixed in my personal fork but
have not yet made it upstream yet. Try clearing out .emacs.d/elpa and trying
again with the version at http://GitHub.com/technomancy/package.el and it
should work although you will get byte compilation warnings.
Sorry for
I think you're missing something :)
Clout is a very low level library. It matches routes using a
Rails-like routing syntax, but it doesn't do anything more than that.
You can match routes like /book/:id, but you can also match routes
like /:controller/:action/:id.
user= (use 'clout.core)
I looked through some of my Project Euler solutions and found this
version. It is essentially the same as Uncle Bob's, but to my eye it
is a bit easier to read.
(defn least-nontrivial-divisor [n];; integer n 1
(loop [k 2]
(cond
(zero? (rem n k)) k ;; k divides n,
On Sun, Jun 13, 2010 at 23:26, Phil Hagelberg p...@hagelb.org wrote:
There are some bugs in package.el that I have fixed in my personal fork but
have not yet made it upstream yet. Try clearing out .emacs.d/elpa and trying
again with the version at http://GitHub.com/technomancy/package.el and it
33 matches
Mail list logo