http conduits example

Note: some people construed my last post as an ill-informed decision to leave haskell for good. Nope! I merely took some time to state some conclusions and observations after a few years of playing with it. It is true that I have decided to make some more time on the schedule for other toys, but i'm still horsing around with haskell.

I've been playing a bit with http-conduits. a nice library. hpaste and other resources seem to show lots of people getting the same errors, the gist below shows what worked. The trick was to wrap the http calls in a runResourceT.

gist

last updated 2012-11-25