clojure
How to prepare dependencies before playing in a Intellij Idea repl?
Say I want to play with a some clojure library, but insidetheREPL开发者_开发问答 from Intellij Idea. How do I start that REPL prepared? Or for that matter, how I load that library anyway, even after t[详细]
2023-04-05 11:23 分类:问答Avoid overriding variable names
On a particular namespace I am working on I am beginning to run out of function names. Is开发者_Python百科 there a way to get a warning like the one I get if I override a symbol from another namespace[详细]
2023-04-05 05:53 分类:问答Cleaning up Clojure function
Coming from imperative progra开发者_JAVA技巧mming languages, I am trying to wrap my head around Clojure in hopes of using it for its multi-threading capability.[详细]
2023-04-04 22:50 分类:问答Is there a way to use a keyword as a function in Common Lisp, as one does in Clojure?
In Clojure one can write (:foo {:foo 3 :bar 5}) which evaluates to 3. Is there any way to extend Common Lisp so that a ke开发者_开发知识库yword will act as a function that looks itself up?There are[详细]
2023-04-04 18:55 分类:问答Converting To loop ... recur recursion
As I understand it, recursing in Clojure without using the loop .. recur syntax might not be a problem for short sequences. However, using the loop .. recur syntax is the preferred method for writing[详细]
2023-04-04 17:18 分类:问答clojure lein: How do I include source from another directory in my project?
I have a lein project in one directory, and instead of using the .jar that gets downloaded when I run[详细]
2023-04-04 13:07 分类:问答Threadlocal counter in Clojure
I have a web app where i want to be able to track the number of times a given function is called in a request (i.e. thread).[详细]
2023-04-04 11:23 分类:问答Performance of large maps in Clojure
I have a Clojure program which is using some large maps (1000 - 2000 items) which are accessed 30 - 40 times a second and using Strings as the keys. I was wondering if there is a big performance diffe[详细]
2023-04-03 23:52 分类:问答Benefit from concurrent programming (-languages)? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-04-03 21:11 分类:问答Clojure equivalent of Haskell's "Scrap Your Boilerplate" (SYB)
I found an interesting library in Haskell called Scrap Your Boilerplate based on a paper by Simon Peyton Jones whi开发者_如何学Goch seems like an effective way to write code that can update large, dee[详细]
2023-04-03 20:57 分类:问答