I have a program to process very large files. Now I need to show a progress bar to show the progress of the processing. The program works on a word level, read one line at a time, splitting it into wo
I wrote a Clojure project using Leiningen and would now like to add the resulting jar to a Sonatype Nexus server. I installed lein-clojars, since this comes with a push command that seems to accept an
I\'m currently in the process of adding functionality to an existing J2EE webapp, in a Tomcat container, and I\'m writing my additions using Clojure. My setup is simple: I just add calls to static met
I\'ve heard it referred to as a stream, as an infinite list, and sometimes even as a lazy sequence. What is the correct term for the following pattern? (Clojure code shown)
I\'ve implemented my own Lisp on top of node.js, I can run s-expressions like this: (assert (= 3 (+ 1 2)))
Let\'s say I define the sequence of all natural numbers in the following way: (def naturals (iterate inc 0))
Doing the Y-Combinator for a single argument function such as factorial or fibonacci in Clojure is well documented:
Clojure has a large number functions/macros for working with namespaces and java package imports. To my (limited) understanding the set up of namespaces can be considered state in a clojure process (r
I\'ve written some basic graphing software in Clojure/Java using drawLine() on the graphics context of a modified JPanel. The plotting itself is working nicely, but I\'ve come to an impasse while tryi
If I do the following in clojure (defn sub1a [a] (cond (= a 0) 0 true (sub1b (- a 1) ))) (defn sub1b [a] (cond