Creating clj-tdo, a command line todo list.

July 2, 2014
Tags: list clojure todo

Using a todo list really appeals to me, I often find I go back to using one if I'm going through a period of not getting much done.

Current applications

Continue reading →

Command line applications in Clojure.

June 26, 2014
Tags: clojure

This post assumes clojure and leiningen are already installed.

The code for this post is available here.

Continue reading →

Destructuring in Clojure.

June 23, 2014
Tags: clojure

Clojure desctructuring) - Clojure supports abstract structural binding, often called destructuring, in let binding lists, fn parameter lists, and any macro that expands into a let or fn. The basic idea is that a binding-form can be a data structure literal containing symbols that get bound to the respective parts of the init-expr. The binding is abstract in that a vector literal can bind to anything that is sequential, while a map literal can bind to anything that is associative.

Sequential binding destructuring

Continue reading →

Using RavenDB in Clojure, part three.

June 22, 2014

This is part three of "Using RavenDB in Clojure". You can find the second part here.

In this part we will carry on with the ravendbtest project we created in part 1 and part 2. Lets cd into the ravendbtest diretory and start a lein repl to get started.

Continue reading →

Using RavenDB in Clojure, part two.

June 21, 2014

This is the second part of "Using RavenDB in Clojure", you can find the first part here.

In this part we will carry on from where we left off with our ravendbtest project. Lets cd into the ravendbtest directory and get going.

Continue reading →

Using RavenDB in Clojure, part one.

June 21, 2014

For one reason and another I was interested in using RavenDB in a clojure project I was working on. I've used RavenDB for a while and had a bit of experience with both the .NET client and the HTTP api.

While there is currently a Java RavenDB client I didnt want to use this for two reasons.

Continue reading →