size-based 0.1.2.0 → 0.1.3.0
raw patch · 3 files changed
+18/−7 lines, 3 filesdep −semigroupsdep ~basedep ~template-haskellnew-uploader
Dependencies removed: semigroups
Dependency ranges changed: base, template-haskell
Files
- CHANGELOG.md +5/−0
- Control/Enumerable/Derive.hs +6/−0
- size-based.cabal +7/−7
+ CHANGELOG.md view
@@ -0,0 +1,5 @@+* 0.1.3.0 (14 May 2022)++ - Allow building with `template-haskell` up through version 2.18+ - Test with GHC 8.6 through 9.2+ - Update maintainer and source repository information
Control/Enumerable/Derive.hs view
@@ -33,9 +33,15 @@ TyConI (NewtypeD cxt _ tvbs con _) -> (cxt, map tvbName tvbs, [con]) #endif +#if MIN_VERSION_template_haskell(2,17,0)+tvbName :: TyVarBndr flag -> Name+tvbName (PlainTV n _) = n+tvbName (KindedTV n _ _) = n+#else tvbName :: TyVarBndr -> Name tvbName (PlainTV n) = n tvbName (KindedTV n _) = n+#endif conData :: Con -> Q (Name,[Type])
size-based.cabal view
@@ -1,20 +1,22 @@ name: size-based-version: 0.1.2.0+version: 0.1.3.0 synopsis: Sized functors, for size-based enumerations-description: A framework for size-based enumerations. See the module documentations for details. +description: A framework for size-based enumerations. See the module documentation for details. license: BSD3 license-file: LICENSE author: Jonas Duregård-maintainer: jonas.duregard@chalmers.se+maintainer: byorgey@gmail.com copyright: (c) Jonas Duregård category: Data build-type: Simple cabal-version: >=1.10+extra-source-files: CHANGELOG.md+tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.2 source-repository head type: git- location: https://github.com/JonasDuregard/sized-functors+ location: https://github.com/size-based/size-based library exposed-modules:@@ -31,7 +33,5 @@ build-depends: base >=4.7 && <5, dictionary-sharing >= 0.1 && < 1.0, testing-type-modifiers >= 0.1 && < 1.0,- template-haskell >=2.5 && <2.15- if impl(ghc < 8.0)- build-depends: semigroups < 0.19+ template-haskell >=2.5 && <2.19 default-language: Haskell2010