packages feed

vinyl-utils 0.2.0.4 → 0.3.0.0

raw patch · 3 files changed

+3/−7 lines, 3 filesdep ~basedep ~transformers

Dependency ranges changed: base, transformers

Files

src/Data/Vinyl/Utils/Const.hs view
@@ -50,8 +50,6 @@ -- ^Extension of (<*>) to constant type records.
 capp RNil RNil = RNil
 capp (Const f :& fs) (Const x :& xs) = Const (f x) :& capp fs xs
-capp RNil _ = error "impossible"
-capp _ RNil = error "impossible"
 
 rconst :: (Applicative f, RecApplicative rs) => f a -> f (Rec (Const a) rs)
 rconst = rtraverse1 . rcpure
src/Data/Vinyl/Utils/Operator.hs view
@@ -35,8 +35,6 @@ -- ^Create an operator between records sharing their fields but differing in functors.
 operator _ RNil RNil = RNil
 operator f (a :& as) (b :& bs) = (f a b) :& operator f as bs
-operator _ RNil _ = error "impossible"
-operator _ _ RNil = error "impossible"
 
 (/$/) :: Functor f => Rec ((->) a) rs -> Rec (Const (f a)) rs -> Rec f rs
 -- ^Apply a record of (a -> x) functions to a constant type record to obtain a plain f-record.
vinyl-utils.cabal view
@@ -1,5 +1,5 @@ name:                vinyl-utils
-version:             0.2.0.4
+version:             0.3.0.0
 synopsis:            Utilities for vinyl
 description:         Operations on records parametrized with various kinds of functors.
 license:             BSD3
@@ -28,9 +28,9 @@                       ,Data.Vinyl.Utils.Field
                       ,Data.Vinyl.Utils.Operator
                       ,Data.Vinyl.Utils.Proxy
-  build-depends:       base          >= 4.8 && < 5
+  build-depends:       base          >= 4.8 && < 6
                       ,contravariant >= 1.3 && < 1.5
-                      ,transformers  >= 0.4 && < 0.5
+                      ,transformers  >= 0.4 && < 0.6
                       ,vinyl         >= 0.5 && < 0.6
   hs-source-dirs:      src
   default-language:    Haskell2010