Re: Can Clojure be as readable as Python or Ruby ?

2012-03-08 Thread djh
I think it's all down to pattern recognition. Once you've been developing in Clojure for a while you start to recognise patterns very easily, meaning reading other peoples code isn't really an issue. The same applies to languages like Haskell, when you're just starting out it might seem a lit

Re: clj-http - how to use cookies in subsequent request

2012-01-02 Thread djh
Excellent thanks Stephen that's done the trick, I've been pulling my hair out over this! On Jan 1, 9:40 pm, Stephen Compall wrote: > On Sun, 2012-01-01 at 08:11 -0800, djh wrote: > > How do I use this response as part of any subsequent requests? The > > response cont

clj-http - how to use cookies in subsequent request

2012-01-01 Thread djh
I'm really struggling with this one. Basically I'm trying to login to reddit programmatically (I know i know there's an API but just for the purposes of this) and I figured the http library would be the best way to do this. So, using the following code (post "https://ssl.reddit.com/post/login"; {