th-strict-compat 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+10/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +8/−0
- th-strict-compat.cabal +2/−2
README.md view
@@ -1,3 +1,11 @@ # th-strict-compat Compatibility shim for Bang and Strict in Template Haskell.++[As the document says, as of template-haskell-2.11.0.0, `Strict` has been replaced by `Bang`.](http://hackage.haskell.org/package/template-haskell-2.12.0.0/docs/Language-Haskell-TH-Syntax.html#t:Strict) +So now `Strict` is the alias of `Bang`, but [`Strict`'s data constructors (http://hackage.haskell.org/package/template-haskell-2.10.0.0/docs/Language-Haskell-TH-Syntax.html#t:Strict)] are not provided anymore. +So this package provides these values for both versions of template-haskell.++- `isStrict`+- `notStrict`+- `unpacked`
th-strict-compat.cabal view
@@ -1,7 +1,7 @@ name: th-strict-compat-version: 0.1.0.0+version: 0.1.0.1 synopsis: Compatibility shim for Bang and Strict in Template Haskell.--- description:+description: See README homepage: https://gitlab.com/igrep/th-strict-compat license: Apache-2.0 license-file: LICENSE