Why can’t we write nested shorthand functions in Clojure?
I tried to evaluate a Clojure expression with nested shorthand functions today, and it wouldn’t let me.
What’s so great about Clojure? [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, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
How to type hint `cond->` within `->`
The following code produces two reflection warnings (for .getBytes
):
How will the new development of Java influence its interoperability with languages like Scala and Clojure?
As far as I understand, both Scala and Clojure have been designed as new languages that
Is Clojure a 3GL or a 4GL?
A bit of background (in case I’m mistaken)…
Accessing the history of a `ref` in Clojure
The documentation for ref shows a :max-history option and states that “refs accumulate history dynamically as needed to deal with read demands.” I can see that there is history at the REPL, but I don’t see how to find previous values of a ref:
Byte code weaving vs Lisp macros
I have been reading about the libraries people have written for languages like Java and C# that make use of byte code weaving to do things like intercept function calls, insert logging code, etc. I have also been reading up on Lisp/Clojure macros in an attempt to better understand how to utilize them. The more I read about macros, the more it seems like they provide the same kind of functionality as byte code weaving libraries. By functionality, I mean the ability to manipulate code at compile time.
What are the practical benefits of LISP like syntax which Clojure uses over Java like syntax of Scala?
I spent couple of months learning Scala and got overwhelmed by number of different constructs it had,
After looking at partial functions, partially-applied functions, pattern matching, actor syntax,
I gave a thought to learning Clojure which doesn’t have too much in terms of syntax but looking at the how Java inter-operability is handled, it looks very difficult to get use to.
In what programming language did “let” first appear?
I was wondering about the origins of the “let” used in Lisp, Clojure, and Haskell. Does anyone know which language it appeared in first?
clojure/erlang/go for high volume server
I have a project that will need to handle 1000s of requests a second with a decent amount of processing for each. For the most part, the processing will be done on a list of items, basically filtering it and returning a smaller list. This process can be done in parallel fairly easily and I should also say, speed is important. I’ve narrowed my language of choice for the project down to clojure, erlang, and go, and have researched them all to a moderate degree.