Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Haskell: http-streams and Aeson. Parent comment
receiveResponse con (\_ i -> parseFromStream json i))
This seems to work but without the benefit of being marshalled into my type.
receiveResponse con (fmap parseJSON . parseFromStream json)
receiveResponse con (\_ i -> parseFromStream json i))
This seems to work but without the benefit of being marshalled into my type.