uri-bytestring 0.2.0.0 → 0.2.1.0
raw patch · 3 files changed
+11/−5 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- changelog.md +6/−0
- src/URI/ByteString/Internal.hs +3/−3
- uri-bytestring.cabal +2/−2
changelog.md view
@@ -1,3 +1,9 @@+0.2.1.0+* Widen dependency on base.++0.2.0.0+* Introduce URIRef, a GADT representation of absolute and relative URIs.+ 0.1.9.2 * Fix bug wher trailing ampersand in the query section would not parse.
src/URI/ByteString/Internal.hs view
@@ -684,13 +684,13 @@ ------------------------------------------------------------------------------- -- | Combinator for tunnelling more specific error types through the -- attoparsec machinery using read/show.-orFailWith :: (Show e, Read e) => Parser a -> e -> Parser' e a+orFailWith :: (Show e) => Parser a -> e -> Parser' e a orFailWith p e = Parser' p <|> fail' e ------------------------------------------------------------------------------- -- | Should be preferred to fail'-fail' :: (Show e, Read e) => e -> Parser' e a+fail' :: (Show e) => e -> Parser' e a fail' = fail . show @@ -703,7 +703,7 @@ ------------------------------------------------------------------------------- -- | Stronger-typed variation of parseOnly'. Consumes all input.-parseOnly' :: (Read e, Show e)+parseOnly' :: (Read e) => (String -> e) -- ^ Fallback if we can't parse a failure message for the sake of totality. -> Parser' e a -> ByteString
uri-bytestring.cabal view
@@ -1,5 +1,5 @@ name: uri-bytestring-version: 0.2.0.0+version: 0.2.1.0 synopsis: Haskell URI parsing as ByteStrings description: uri-bytestring aims to be an RFC3986 compliant URI parser that uses efficient ByteStrings for parsing and representing the URI data. license: BSD3@@ -37,7 +37,7 @@ build-depends: attoparsec >= 0.10 && < 0.14- , base >= 4.6 && < 4.9+ , base >= 4.6 && < 4.10 , bytestring >= 0.9.1 && < 0.11 , blaze-builder >= 0.3.0.0 && < 0.5