Hi,
I am currently reading "Programming Clojure" but got stuck at the
destructuring done in the "head-overlaps-body?" function call that is
part of the "snake" game:
(defn head-overlaps-body? [{[head & body] :body}]
(includes? body head))
;; page 200 of the pdf version
I can not figure out wh
That's a great link! Thank you very much!
On Apr 12, 2:49 pm, Steve Purcell wrote:
> On 12 Apr 2010, at 13:46, Steve Purcell wrote:
>
> > On 12 Apr 2010, at 09:39, Bytesource wrote:
> >> For example, I tried to implement the "insertion sort" in Clojure but
&g
Hi,
I am new to Clojure and currently reading "Programming Clojure" (just
finished the chapter on concurrency).
I would like to know if there is a collection of common algorithms
written in Clojure to get a better feel for the language and to
familiarize myself with an idiomatic coding style?
Fo