Category Archives: Clojure

Let’s Write a Macro

NB: This isn’t really aa tutorial on writing Clojure macros, it’s a description of a macro I wrote and how I went about it. If your looking for an introduction to writing Clojure macros there’s an excellent one at Clojure … Continue reading

Posted in Clojure, General

Clojam – A Clojure library for Google Code Jam

I put together this small library for doing Google Code Jam with Clojure and just uploaded it to Github in case anyone else might find it useful. Code Jam Code Jam is Google’s annual coding competition. It consists of a … Continue reading

Posted in Clojure, General

Mocking with Midje

So I was playing around with an application recently and wanted to integrate Chas Emerick‚Äôs excellent Friend authentication library. I setup a simple User service to get users, roles etc in a format that could be consumed by Friend and … Continue reading

Posted in Clojure | Tagged

Ganelon

When it comes to web development with Clojure everything pretty much revolves around Ring and Compojure for HTTP abstraction and routing with a generous helping of Hiccup or Enlive for HTML templating plus Friend or SQL Korma or whatever else … Continue reading

Posted in Clojure | Tagged , | 1 Comment

Clojurescript Links

I’ve been following Clojurescript since it was released, but have only recently started using it. Just in case you don’t know what it is, Clojurescript is a compiler for Clojure that compiles to Javascript so it can be executed in … Continue reading

Posted in Clojure | Tagged

TDD in Clojure with Midje

One of the things I love about Clojure is that it has great support for writing unit tests. For starters you have clojure.test built-in to the Clojure API. The great thing about that is you don’t have any extra dependencies, … Continue reading

Posted in Clojure | Tagged ,