I am learning clojure and just playing with atoms and refs.Here is a simple tree implementation, but it is causing a stack overflow when executing the add-child method:
I know I can do (:use function) but how do I do thi开发者_开发问答s for a multimethod?Multimethods are used from other namespaces in the same way as functions.
I\'m working on a clojure program that includes these lines of code: (defn makeStruct \"Take a line of input and return a starbucks-struct\"
I\'ve found this code on http://www.learningclojure.com/2010/11/yet-another-way-to-write-factorial.html, but I don\'t understand if/how the pop-t开发者_如何学JAVAask is supposed to be threadsafe. Does
I have built a persistence layer with clojure where database tables are read into refs for the tables and accessed using the Clojure set functions开发者_StackOverflow社区. Would it make sense just to
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing
I want t开发者_运维知识库o unit test a web application from Clojure. The web application tested is hidden behind NTLM-login. Is there any simple way to use existing clojure http-clients to login with
Say I have two source files in a clojure program and I reload a changed external module using :reload in one of the modukes. Does the开发者_运维问答 reload only occur in scope of the module which call
I am trying to locate where do form is defined looking in clojure.core it does not exist. I would like to figure out how do statement is translated开发者_如何学编程 to Java?Look to Compiler.java, line
I read the following line in this Clojure tutorial - http://java.ociweb.com/mark/clojure/article.html#Macros