derive-storable-plugin 0.2.3.0 → 0.2.3.1
raw patch · 4 files changed
+11/−5 lines, 4 filesdep ~basedep ~derive-storabledep ~ghcPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base, derive-storable, ghc, ghci
API changes (from Hackage documentation)
- Foreign.Storable.Generic.Plugin.Internal.Helpers: isProxy :: TyVarBinder -> Bool
+ Foreign.Storable.Generic.Plugin.Internal.Helpers: isProxy :: TyCoVarBinder -> Bool
Files
- ChangeLog.md +4/−0
- derive-storable-plugin.cabal +3/−4
- src/Foreign/Storable/Generic/Plugin/Internal/Predicates.hs +4/−0
- test/Basic/TestCases.hs +0/−1
ChangeLog.md view
@@ -2,6 +2,10 @@ ## 0.2.3.0 -- 2020-03-23 +* Support for derive-storable 0.3.0.0++## 0.2.3.0 -- 2020-03-23+ * Support for derive-storable 0.2.0.0 * Bump to 8.8 * Prepared for 8.10
derive-storable-plugin.cabal view
@@ -2,7 +2,7 @@ -- further documentation, see http://haskell.org/cabal/users-guide/ name: derive-storable-plugin-version: 0.2.3.0+version: 0.2.3.1 synopsis: GHC core plugin supporting the derive-storable package. description: The package helps derive-storable package in forcing compile time evaluation of sizes, alignments and offsets.@@ -19,7 +19,7 @@ tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.2, GHC==8.6.5, GHC==8.8.1 Flag sumtypes- Description: Use sumtypes within the benchmark and the test.+ Description: Use sumtypes within benchmark and tests. Default: False library@@ -31,9 +31,8 @@ , Foreign.Storable.Generic.Plugin.Internal.Helpers , Foreign.Storable.Generic.Plugin.Internal.Predicates , Foreign.Storable.Generic.Plugin.Internal.Types- -- other-modules: other-extensions: DeriveGeneric, DeriveAnyClass, PatternGuards- build-depends: base >=4.9 && <4.14, ghc >= 8.0 && <8.9, ghci >= 8.0 && <8.9, derive-storable >= 0.1.1 && < 0.3+ build-depends: base >=4.9 && <4.14, ghc >= 8.0 && <8.9, ghci >= 8.0 && <8.9, derive-storable >= 0.3 && < 0.4 hs-source-dirs: src default-language: Haskell2010
src/Foreign/Storable/Generic/Plugin/Internal/Predicates.hs view
@@ -184,6 +184,10 @@ , isSpecSizeOfId, isSpecAlignmentId , isSpecPeekId, isSpecPokeId , isSpecGStorableInstId+#if MIN_VERSION_GLASGOW_HASKELL(8,8,1,0)+ , isChoiceSizeOfId, isChoiceAlignmentId+ , isChoicePeekId, isChoicePokeId+#endif ] -- | Is the id an GStorable method. isGStorableMethodId :: Id -> Bool
test/Basic/TestCases.hs view
@@ -26,7 +26,6 @@ import Foreign.Storable.Generic.Tools import Foreign.Storable.Generic.Internal-import Foreign.Storable.Generic.Instances import Data.Int import Control.Monad (sequence, liftM) import System.Exit