packages feed

derive 2.5.25 → 2.5.26

raw patch · 3 files changed

+6/−4 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

+ Language.Haskell: infix 1 ?
- Data.Derive.DSL.HSE: coerce :: (Typeable * a, Typeable * a1) => a1 -> a
+ Data.Derive.DSL.HSE: coerce :: (Typeable * a1, Typeable * a) => a1 -> a
- Language.Haskell.Convert: convert :: Convert a b => a -> b
+ Language.Haskell.Convert: convert :: forall a b. Convert a b => a -> b

Files

CHANGES.txt view
@@ -1,5 +1,7 @@ Changelog for Derive +2.5.26+    #17, fix incomplete pattern matches for certain types of data 2.5.25     #14, further GHC 8.0.1 updates 2.5.24
derive.cabal view
@@ -1,7 +1,7 @@ cabal-version:  >= 1.8 build-type:     Default name:           derive-version:        2.5.25+version:        2.5.26 build-type:     Simple copyright:      Neil Mitchell 2006-2016 author:         Neil Mitchell <ndmitchell@gmail.com>
src/Language/Haskell/Convert.hs view
@@ -74,9 +74,9 @@ instance Convert TH.StrictType HS.Type where #if __GLASGOW_HASKELL__ >= 800     conv (Bang SourceUnpack SourceStrict, x) = TyBang UnpackedTy $ TyBang BangedTy $ c x-    conv (Bang SourceUnpack NoSourceStrictness, x) = TyBang UnpackedTy $ c x-    conv (Bang NoSourceUnpackedness SourceStrict, x) = TyBang BangedTy $ c x-    conv (Bang NoSourceUnpackedness NoSourceStrictness, x) = c x+    conv (Bang SourceUnpack _, x) = TyBang UnpackedTy $ c x+    conv (Bang _ SourceStrict, x) = TyBang BangedTy $ c x+    conv (Bang _ _, x) = c x #else     conv (IsStrict, x) = TyBang BangedTy $ c x     conv (NotStrict, x) = c x