web-routing 0.6.0 → 0.6.1
raw patch · 2 files changed
+12/−5 lines, 2 filesdep ~primitivePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: primitive
API changes (from Hackage documentation)
Files
src/Network/Routing/Dict/Internal.hs view
@@ -1,6 +1,5 @@ {-# LANGUAGE FunctionalDependencies #-} {-# LANGUAGE UndecidableInstances #-}-{-# LANGUAGE OverlappingInstances #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE FlexibleContexts #-}@@ -13,6 +12,10 @@ {-# LANGUAGE GADTs #-} {-# LANGUAGE CPP #-} +#if __GLASGOW_HASKELL < 710+{-# LANGUAGE OverlappingInstances #-}+#endif+ module Network.Routing.Dict.Internal ( Dict, Store , ShowDict@@ -192,7 +195,11 @@ class Member (k :: Symbol) (v :: *) (kvs :: [KV *]) | k kvs -> v where get' :: proxy k -> Dict kvs -> v +#if __GLASGOW_HASKELL__ >= 710+instance {-# OVERLAPPING #-} Member k v (k := v ': kvs) where+#else instance Member k v (k := v ': kvs) where+#endif get' = getImpl {-# INLINE get' #-}
web-routing.cabal view
@@ -1,5 +1,5 @@ name: web-routing-version: 0.6.0+version: 0.6.1 synopsis: simple routing library license: MIT license-file: LICENSE@@ -16,7 +16,7 @@ exposed-modules: Network.Routing Network.Routing.Dict other-modules: Network.Routing.Dict.Internal- build-depends: base >=4.6 && <4.8+ build-depends: base >=4.6 && <4.9 , bytestring >=0.10 && <0.11 , text >=1.1 && <1.3 , unordered-containers >=0.2 && <0.3@@ -31,14 +31,14 @@ ghc-options: -threaded main-is: doctest.hs hs-source-dirs: tests- build-depends: base >=4.6 && <4.8+ build-depends: base , doctest >=0.9 && <0.10 default-language: Haskell2010 benchmark benchmarks type: exitcode-stdio-1.0 main-is: bench/main.hs- build-depends: base >=4.6 && <4.8+ build-depends: base , web-routing , criterion , text