packages feed

validity-scientific 0.1.0.0 → 0.2.0.0

raw patch · 2 files changed

+35/−28 lines, 2 filesdep ~validity

Dependency ranges changed: validity

Files

src/Data/Validity/Scientific.hs view
@@ -8,9 +8,8 @@  -- | A 'Scientific' is valid according to the validity of its coefficient and exponent. instance Validity Scientific where-    isValid s = isValid (coefficient s) && isValid (base10Exponent s)     validate s =         mconcat-            [ coefficient s <?!> "coefficient"-            , base10Exponent s <?!> "base10Exponent"+            [ annotate (coefficient s) "coefficient"+            , annotate (base10Exponent s) "base10Exponent"             ]
validity-scientific.cabal view
@@ -1,29 +1,37 @@-name: validity-scientific-version: 0.1.0.0-cabal-version: >=1.10-build-type: Simple-license: MIT-license-file: LICENSE-copyright: Copyright: (c) 2017 Tom Sydney Kerckhove-maintainer: syd.kerckhove@gmail.com-homepage: https://github.com/NorfairKing/validity#readme-synopsis: Validity instances for scientific-description:-    Please see README.md-category: Web-author: Tom Sydney Kerckhove+-- This file has been generated from package.yaml by hpack version 0.20.0.+--+-- see: https://github.com/sol/hpack+--+-- hash: bb7adfb1da39a4127510b1ca49f55a8f90068e1501f0f5a242ea799c4ae49bf0 +name:           validity-scientific+version:        0.2.0.0+synopsis:       Validity instances for scientific+description:    Please see README.md+category:       Web+homepage:       https://github.com/NorfairKing/validity#readme+bug-reports:    https://github.com/NorfairKing/validity/issues+author:         Tom Sydney Kerckhove+maintainer:     syd.kerckhove@gmail.com+copyright:      Copyright: (c) 2017-2018 Tom Sydney Kerckhove+license:        MIT+license-file:   LICENSE+build-type:     Simple+cabal-version:  >= 1.10+ source-repository head-    type: git-    location: https://github.com/NorfairKing/validity+  type: git+  location: https://github.com/NorfairKing/validity  library-    exposed-modules:-        Data.Validity.Scientific-    build-depends:-        base >=4.7 && <5,-        validity >= 0.4 && <0.5,-        scientific -any-    default-language: Haskell2010-    hs-source-dirs: src-+  hs-source-dirs:+      src+  build-depends:+      base >=4.7 && <5+    , scientific+    , validity >=0.5 && <0.6+  exposed-modules:+      Data.Validity.Scientific+  other-modules:+      Paths_validity_scientific+  default-language: Haskell2010