lens-family-th 0.5.1.0 → 0.5.2.0
raw patch · 2 files changed
+9/−4 lines, 2 filesdep ~basedep ~template-haskellPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, template-haskell
API changes (from Hackage documentation)
Files
- lens-family-th.cabal +3/−3
- src/Lens/Family/THCore.hs +6/−1
lens-family-th.cabal view
@@ -1,5 +1,5 @@ name: lens-family-th-version: 0.5.1.0+version: 0.5.2.0 synopsis: Generate lens-family style lenses description: (see README.md)@@ -25,8 +25,8 @@ exposed-modules: Lens.Family.TH , Lens.Family2.TH , Lens.Family.THCore- build-depends: base >= 4.9 && < 4.15- , template-haskell >= 2.11 && < 2.17+ build-depends: base >= 4.9 && < 5+ , template-haskell >= 2.11 && < 2.18 test-suite lens-family-th-test default-language: Haskell2010
src/Lens/Family/THCore.hs view
@@ -23,7 +23,12 @@ -- | Information about the larger type the lens will operate on.-type LensTypeInfo = (Name, [TyVarBndr])+type LensTypeInfo =+#if MIN_VERSION_template_haskell(2,17,0)+ (Name, [TyVarBndr ()])+#else+ (Name, [TyVarBndr])+#endif -- | Information about the smaller type the lens will operate on. type ConstructorFieldInfo = (Name, Strict, Type)