Having played with threading, I thought I’d have a go with Java integration. Swing was the obvious target, and a simple quote fetcher was the result. For simplicity, I stuck with URLConnection, but there are a number of Clojure libraries to solve the HTTP problem. All of them are somewhat nicer to deal with. I [...]
Archive for August, 2010
Travels in Clojure
I’m currently reading through Pragmatic’s Seven Languages in Seven Weeks. After every chapter it has a series of small ‘self-study’ tasks. For Clojure, the final of these is the Sleeping Barber problem. So, mostly for my own reference, I present my solution. If anyone who actually knows Clojure ever reads this, I’d welcome any suggestions. [...]







