packages feed

syb-with-class 0.6.1.4 → 0.6.1.5

raw patch · 4 files changed

+18/−2 lines, 4 filesdep ~template-haskellPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: template-haskell

API changes (from Hackage documentation)

Files

Data/Generics/SYB/WithClass/Basics.hs view
@@ -18,7 +18,12 @@  ) where +#if MIN_VERSION_base(4,7,0)+import Data.Typeable hiding (Proxy)+#else import Data.Typeable+#endif+ import Data.Generics.SYB.WithClass.Context  #ifdef __HADDOCK__
Data/Generics/SYB/WithClass/Derive.hs view
@@ -39,7 +39,11 @@                           Just m -> m ++ "."                           Nothing -> ""            typeString = moduleString ++ nameBase name+#if MIN_VERSION_base(4,7,0)+           body = [| mkTyConApp (mkTyCon3 $(litE $ stringL typeString)) [] |]+#else            body = [| mkTyConApp (mkTyCon $(litE $ stringL typeString)) [] |]+#endif            method = funD methodName [clause [wildP] (normalB body) []]        in sequence [ instanceD (return [])                                (conT className `appT` conT name)
Data/Generics/SYB/WithClass/Instances.hs view
@@ -1,6 +1,9 @@ {-# LANGUAGE TemplateHaskell, FlexibleInstances,              UndecidableInstances, OverlappingInstances, CPP,              MultiParamTypeClasses #-}+#if MIN_VERSION_base(4,7,0)+{-# LANGUAGE StandaloneDeriving, DeriveDataTypeable #-}+#endif {-# OPTIONS_GHC -fno-warn-orphans #-} -- This is a module full of orphans, so don't warn about them @@ -540,8 +543,12 @@   -- INSTANCE_TYPEABLE0(DataType,dataTypeTc,"DataType")+#if MIN_VERSION_base(4,7,0)+deriving instance Typeable DataType+#else #ifndef __HADDOCK__ $(deriveTypeable [''DataType])+#endif #endif  instance Sat (ctx DataType) =>
syb-with-class.cabal view
@@ -1,5 +1,5 @@ Name:               syb-with-class-Version:            0.6.1.4+Version:            0.6.1.5 License:            BSD3 License-file:       LICENSE Copyright:          2004 - 2008 The University of Glasgow, CWI,@@ -25,7 +25,7 @@   location: http://patch-tag.com/r/Saizan/syb-with-class/  Library -    Build-Depends:      base >= 3 && < 5, template-haskell >= 2.4 && < 2.9, bytestring, array, containers+    Build-Depends:      base >= 3 && < 5, template-haskell >= 2.4 && < 2.10, bytestring, array, containers     Exposed-modules:         Data.Generics.SYB.WithClass.Basics         Data.Generics.SYB.WithClass.Context