uri-bytestring 0.1.1 → 0.1.2
raw patch · 6 files changed
+21/−4 lines, 6 filesdep ~basedep ~network-uriPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, network-uri
API changes (from Hackage documentation)
Files
- README.md +1/−0
- bench/Main.hs +4/−0
- changelog.md +6/−0
- src/URI/ByteString/Lens.hs +4/−1
- src/URI/ByteString/Types.hs +3/−0
- uri-bytestring.cabal +3/−3
README.md view
@@ -10,3 +10,4 @@ * [Doug Beardsley](http://github.com/mightybyte) * [Ozgun Ataman](http://github.com/ozataman) * [fisx](http://github.com/fisx)+* [Timo von Holtz](http://github.com/tvh)
bench/Main.hs view
@@ -14,11 +14,15 @@ ------------------------------------------------------------------------------- instance NFData Authority+instance NFData Host instance NFData UserInfo instance NFData URI instance NFData RelativeRef instance NFData SchemaError instance NFData URIParseError+instance NFData Scheme+instance NFData Port+instance NFData Query -------------------------------------------------------------------------------
changelog.md view
@@ -1,3 +1,9 @@+0.1.2+* Add support for GHC 7.10++0.1.1+* Switch to blaze-bytestring for less contentious dependencies+ 0.1 * Add generic lenses (breaking field name changes). * Add support for relative refs.
src/URI/ByteString/Lens.hs view
@@ -1,9 +1,12 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE RankNTypes #-} module URI.ByteString.Lens where -------------------------------------------------------------------------------+#if !MIN_VERSION_base(4,8,0) import Control.Applicative+#endif import Data.ByteString (ByteString) import Data.Word -------------------------------------------------------------------------------@@ -226,7 +229,7 @@ ------------------------------------------------------------------------------- -- Lens machinery --------------------------------------------------------------------------------type Lens s t a b = Functor f => (a -> f b) -> s -> f t+type Lens s t a b = forall f. Functor f => (a -> f b) -> s -> f t ------------------------------------------------------------------------------- lens :: (s -> a) -> (s -> b -> t) -> Lens s t a b
src/URI/ByteString/Types.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-}@@ -5,7 +6,9 @@ ------------------------------------------------------------------------------- import Data.ByteString (ByteString)+#if !MIN_VERSION_base(4,8,0) import Data.Monoid+#endif import Data.Typeable import Data.Word import GHC.Generics
uri-bytestring.cabal view
@@ -1,5 +1,5 @@ name: uri-bytestring-version: 0.1.1+version: 0.1.2 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@@ -34,7 +34,7 @@ build-depends: attoparsec >= 0.10 && < 0.13- , base >= 4.6 && < 4.8+ , base >= 4.6 && < 4.9 , bytestring >= 0.9.1 && < 0.11 , blaze-builder >= 0.3.0.0 && < 0.5 @@ -82,7 +82,7 @@ , criterion , deepseq , deepseq-generics- , network-uri+ , network-uri >= 2.6.0.3 , bytestring , blaze-builder