bond-haskell-compiler 0.1.4.1 → 0.1.5.0
raw patch · 2 files changed
+4/−2 lines, 2 filesdep ~bondPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: bond
API changes (from Hackage documentation)
Files
bond-haskell-compiler.cabal view
@@ -1,5 +1,5 @@ name: bond-haskell-compiler-version: 0.1.4.1+version: 0.1.5.0 synopsis: Bond code generator for Haskell description: Bond is a cross-platform framework for handling schematized data. It supports cross-language de/serialization and@@ -31,7 +31,7 @@ Language.Bond.Codegen.Haskell.Util ghc-options: -W -Wall build-depends: base >= 4.7 && < 5- , bond >= 0.5.0.0 && < 0.5.1.0+ , bond >= 0.7.0.0 && < 0.7.1.0 , filepath >= 1.0 , haskell-src-exts >= 1.16 && < 1.18 , text
src/Language/Bond/Codegen/Haskell/EnumDecl.hs view
@@ -79,6 +79,7 @@ DataDecl noLoc NewType [] typeName [] [QualConDecl noLoc [] [] (ConDecl typeName [implType "Int32"])] [], showInstance, eqInstance,+ nfdataInstance, typeSig ] typeName = mkType $ makeDeclName decl@@ -86,5 +87,6 @@ typeSig = TypeSig noLoc (map (mkVar . constantName) (enumConstants decl)) typeCon showInstance = InstDecl noLoc Nothing [] [] (pQual "Show") [typeCon] [] eqInstance = InstDecl noLoc Nothing [] [] (pQual "Eq") [typeCon] []+ nfdataInstance = InstDecl noLoc Nothing [] [] (implQual "NFData") [typeCon] [] enumHsBootDecl _ _ _ _ = error "enumDecl called for invalid type"