derive-lifted-instances 0.2.1 → 0.2.2
raw patch · 3 files changed
+5/−5 lines, 3 files
Files
CHANGELOG.md view
@@ -1,7 +1,7 @@ Changelog ========= -v0.2.1 2020-10-03+v0.2.2 2020-10-03 ----------------- - Support GHC 9.0
Data/DeriveLiftedInstances/Internal.hs view
@@ -93,11 +93,11 @@ deriveInstance' :: Derivator -> Cxt -> Name -> Type -> Q [Dec] deriveInstance' deriv ctx clsName typ = do ClassI (ClassD _ _ tvs _ decs) _ <- reify clsName- #if MIN_VERSION_template_haskell(2,17,0)+#if MIN_VERSION_template_haskell(2,17,0) let KindedTV tvn _ _ = last tvs- #else+#else let KindedTV tvn _ = last tvs- #endif+#endif impl <- for decs $ \case SigD nm tp -> do dec <- reify nm
derive-lifted-instances.cabal view
@@ -1,5 +1,5 @@ name: derive-lifted-instances-version: 0.2.1+version: 0.2.2 synopsis: Derive class instances though various kinds of lifting description: Helper functions to use Template Haskell for generating class instances. homepage: https://github.com/sjoerdvisscher/derive-lifted-instances