3[](http://hackage.haskell.org/package/http-api-data)
4[](http://travis-ci.org/fizruk/http-api-data)
6This package defines typeclasses used for converting Haskell data types to and from HTTP API data.
15>>> parseUrlPiece "False" :: Either Text Bool
17>>> parseUrlPiece "something else" :: Either Text Bool
18Left "could not parse: `something else'"
26>>> parseUrlPiece "452" :: Either Text Int
28>>> parseUrlPiece "256" :: Either Text Int8
29Left "out of bounds: `256' (should be between -128 and 127)"
37>>> parseHeader "world" :: Either Text String
44>>> toQueryParam (fromGregorian 2015 10 03)
46>>> toGregorian <$> parseQueryParam "2016-12-01"
52Contributions and bug reports are welcome!
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list