@@ -53,17 +53,19 @@ import Web.HttpApiData.Internal
5353-- "true"
5454-- >>> parseUrlPiece "false" :: Either Text Bool
5555-- Right False
56−-- >>> parseUrlPiece "something else" :: Either Text Bool
57−-- Left "could not parse: `something else'"
56+-- >>> parseUrlPieces ["true", "false", "undefined"] :: Either Text [Bool]
57+-- Left "could not parse: `undefined'"
5858--
5959-- Numbers:
6060--
61−-- >>> toUrlPiece 45.2
61+-- >>> toQueryParam 45.2
6262-- "45.2"
63−-- >>> parseUrlPiece "452" :: Either Text Int
63+-- >>> parseQueryParam "452" :: Either Text Int
6464-- Right 452
65−-- >>> parseUrlPiece "256" :: Either Text Int8
66−-- Left "out of bounds: `256' (should be between -128 and 127)"
65+-- >>> toQueryParams [1..5]
66+-- ["1","2","3","4","5"]
67+-- >>> parseQueryParams ["127", "255"] :: Either Text [Int8]
68+-- Left "out of bounds: `255' (should be between -128 and 127)"
6769--
6870-- Strings:
6971--
@@ -78,3 +80,4 @@ import Web.HttpApiData.Internal
7880-- "2015-10-03"
7981-- >>> toGregorian <$> parseQueryParam "2016-12-01"
8082-- Right (2016,12,1)
83+