packages feed

kind-generics-th 0.2.3.0 → 0.2.3.1

raw patch · 2 files changed

+5/−2 lines, 2 filesdep ~th-abstractionPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: th-abstraction

API changes (from Hackage documentation)

Files

kind-generics-th.cabal view
@@ -1,6 +1,6 @@ cabal-version:       >=1.10 name:                kind-generics-th-version:             0.2.3.0+version:             0.2.3.1 synopsis:            Template Haskell support for generating `GenericK` instances description:         This package provides Template Haskell functionality to                      automatically derive @GenericK@ instances (from the@@ -27,7 +27,7 @@                      , ghc-prim >= 0.5.3                      , kind-generics >=0.5                      , template-haskell >=2.14 && <2.20-                     , th-abstraction >=0.4 && <0.5+                     , th-abstraction >=0.4 && <0.6   hs-source-dirs:      src   default-language:    Haskell2010   ghc-options:         -Wall
src/Generics/Kind/TH.hs view
@@ -664,6 +664,9 @@ isNewtypeVariant Newtype         = True isNewtypeVariant DataInstance    = False isNewtypeVariant NewtypeInstance = True+#if MIN_VERSION_th_abstraction(0,5,0)+isNewtypeVariant TypeData        = False+#endif  -- | Extract 'Just' the 'Name' from a type variable. If the argument 'Type' is -- not a type variable, return 'Nothing'.