wreq
HaskellのHTTP client
http-clientとLensを使っている
website
github
hackage
tutorial
IHPのdocsでも出てくる
こんな使い方ができる
code:ghci(hs)
ghci> import Network.Wreq
ghci> r <- get "http://httpbin.org/get"
ghci> import Control.Lens
ghci> r ^. responseHeader "Content-Type"
"application/json"
lensを知らないので、なんでr ^. responseHeader "Content-Type"こんな書き方ができるのかわからない #??