model 0.4.2 → 0.4.4
raw patch · 5 files changed
+24/−16 lines, 5 filesdep ~eitherdep ~tasty-hunitPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: either, tasty-hunit
API changes (from Hackage documentation)
Files
- CHANGELOG +3/−0
- model.cabal +5/−5
- src/Data/Model.hs +9/−6
- src/Data/Model/Types.hs +1/−1
- stack.yaml +6/−4
CHANGELOG view
@@ -1,5 +1,8 @@ Significant and compatibility-breaking changes. +Version 0.4.4:+ - minor cabal and documentation fixes+ Version 0.4.2: - model.cabal: added upper bounds for dependencies - Data.Model.Util: added error handling utilities
model.cabal view
@@ -1,5 +1,5 @@ name: model-version: 0.4.2+version: 0.4.4 synopsis: Derive a model of a data type using Generics description: See the <http://github.com/tittoassini/model online tutorial>. homepage: http://github.com/tittoassini/model@@ -11,7 +11,7 @@ category: Data,Reflection,Generics build-type: Simple cabal-version: >=1.10-Tested-With: GHC == 7.10.3 GHC == 8.0.1 GHC == 8.0.2 GHC == 8.2.1+Tested-With: GHC == 7.10.3 GHC == 8.0.1 GHC == 8.0.2 GHC == 8.2.2 extra-source-files: stack.yaml,README.md,CHANGELOG source-repository head@@ -30,7 +30,7 @@ , Type.ANat,Type.Analyse build-depends: base >= 4.8 && < 5 , containers == 0.5.*- , either > 4.3.2 && <5+ , either > 4.3.2 && <6 , deepseq == 1.4.* , transformers >= 0.4.2.0 && < 0.6 , pretty >= 1.1.2 && < 1.2@@ -50,7 +50,7 @@ , model , ghc-prim , tasty >= 0.11 && < 0.13- , tasty-hunit >= 0.8 && < 0.10+ , tasty-hunit >= 0.8 && < 0.11 , tasty-quickcheck >=0.8.1 && < 0.9.2 default-language: Haskell2010@@ -60,5 +60,5 @@ type: exitcode-stdio-1.0 ghc-options: -threaded main-is: DocSpec.hs- build-depends: base, doctest>=0.11.1 && <0.14,filemanip>=0.3.6.3 && < 0.3.7+ build-depends: base, doctest>=0.11.1 && <0.14,filemanip>=0.3.6.3 && < 0.3.7,model HS-Source-Dirs: test
src/Data/Model.hs view
@@ -1,10 +1,13 @@ module Data.Model ( -- |Check the <https://github.com/tittoassini/model tutorial and github repo>.- module X+ module Data.Model.Class+ ,module Data.Model.Types+ ,module Data.Model.Pretty+ ,module Data.Model.Util ) where -import Data.Model.Class as X-import Data.Model.Types as X-import Data.Model.Instances()-import Data.Model.Pretty as X-import Data.Model.Util as X+import Data.Model.Class+import Data.Model.Instances ()+import Data.Model.Pretty+import Data.Model.Types+import Data.Model.Util
src/Data/Model/Types.hs view
@@ -272,9 +272,9 @@ deriving (Eq, Ord, Show, NFData, Generic) {-|Return the qualified name, minus the package name.+ >>> qualName (QualName {pkgName = "ab", mdlName = "cd.ef", locName = "gh"}) "cd.ef.gh"- -} qualName :: QualName -> String qualName n = convert $ n {pkgName=""}
stack.yaml view
@@ -1,6 +1,8 @@-# resolver: lts-6.35-#resolver: lts-7.24-resolver: lts-9.12-#resolver: nightly-2017-10-30+resolver: lts-9.17+ packages: - '.'++#extra-deps:+#- either-5+#- tasty-hunit-0.10.0.1