Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Haskell: http-streams and Aeson.
data MetaData = MetaData { metadataUrl :: String, metadataTitle :: String ...
import Data.Char ... upStr n s = toLower (head (drop n s)) : (drop (n+1) s) $(deriveJSON (upStr 8) ''MetaData)
It's pretty handy.
There are no comments on this comment yet.
It's pretty handy.