I\'m experimenting with filtering through elements in parallel. For each element, I need to perform a distance calculation to see if it is close enough to a target point. Never mind that data structur
iam newbie to clojure, just curious as to can i use jersey REST api as REST webframework for clojure? all along i see people talking about compojure? 开发者_开发知识库if you can provide me any resourc
I am trying to wrap a Java library with a Clojure binding.One particular class in the Java library defines a bunch of static final constants, for example:
In Clojure, I want to combine two lists to give a list of pairs, > (zip \'(1 2 3) \'(4 5 6)) ((1 4) (2 5) (3 6))
I\'m trying to figure out the best way to use agents to consume items from a Message Queue (Amazon SQS).Right now I have a function (process-queue-item) that grabs an items from the queue, and process
What do you lose in practice when you choose a statically-typed language such as Scala (or F#, Haskell, C#) instead of dynamically-typed ones like Ruby, Python, Clojure, Groovy (which have macros or r
I\'m writing a little parser in clojure for learning purpose. basically is a TSV file parser that need to be put in a database, but I added a complication.
What I would like to do (in Clojure): For example, I have a vector of words that need to be removed: (def forbidden开发者_C百科-words [\":)\" \"the\" \".\" \",\" \" \" ...many more...])
I\'d like to pre-store a bunch of function calls in a data structure and later evaluate/execute them from within another function.
In F#: > let f x = x + 2;; val f : int -> int > let g x = f x;; val g : int -> int > g 10;;