packages feed

th-utilities 0.2.4.1 → 0.2.4.2

raw patch · 3 files changed

+14/−6 lines, 3 filesdep +th-abstractiondep ~template-haskellPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies added: th-abstraction

Dependency ranges changed: template-haskell

API changes (from Hackage documentation)

- TH.Utilities: tyVarBndrName :: TyVarBndr -> Name
+ TH.Utilities: tyVarBndrName :: TyVarBndr_ flag -> Name

Files

ChangeLog.md view
@@ -1,11 +1,17 @@ # ChangeLog +## 0.2.4.2++* Fixes compilation with `GHC-9.0.*`.  See [#14][]++[#14]: https://github.com/fpco/th-utilities/issues/14+ ## 0.2.4.1  * Fixes generated Storable instances to have a `sizeOf` definition   which works with `-XStrict`. See [#13][] -[#13]: https://github.com/fpco/th-utilities/issues/1+[#13]: https://github.com/fpco/th-utilities/issues/13  ## 0.2.4.0 
src/TH/Utilities.hs view
@@ -13,11 +13,11 @@ import Data.Generics import Language.Haskell.TH import Language.Haskell.TH.Syntax+import Language.Haskell.TH.Datatype.TyVarBndr (TyVarBndr_, tvName)  -- | Get the 'Name' of a 'TyVarBndr'-tyVarBndrName :: TyVarBndr -> Name-tyVarBndrName (PlainTV n) = n-tyVarBndrName (KindedTV n _) = n+tyVarBndrName :: TyVarBndr_ flag -> Name+tyVarBndrName = tvName  appsT :: Type -> [Type] -> Type appsT x [] = x
th-utilities.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 4ead6810c97333043130d21e0a0d11b6c9254be283938497d1ebb222e7552598+-- hash: 9fff4503beee50e43fb637166a371098620f5eece4581d42ff9ff7b66eee2f96  name:           th-utilities-version:        0.2.4.1+version:        0.2.4.2 synopsis:       Collection of useful functions for use with Template Haskell category:       Template Haskell homepage:       https://github.com/fpco/th-utilities#readme@@ -47,6 +47,7 @@     , syb     , template-haskell >=2.7     , text+    , th-abstraction     , th-orphans   default-language: Haskell2010 @@ -72,6 +73,7 @@     , syb     , template-haskell >=2.7     , text+    , th-abstraction     , th-orphans     , th-utilities     , vector