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>>> parseUrlPieces ["true", "false", "undefined"] :: Either Text [Bool]
18Left "could not parse: `undefined'"
26>>> parseQueryParam "452" :: Either Text Int
28>>> toQueryParams [1..5]
30>>> parseQueryParams ["127", "255"] :: Either Text [Int8]
31Left "out of bounds: `255' (should be between -128 and 127)"
39>>> parseHeader "world" :: Either Text String
46>>> toQueryParam (fromGregorian 2015 10 03)
48>>> toGregorian <$> parseQueryParam "2016-12-01"
54Contributions 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