modular-arithmetic 1.2.1.3 → 1.2.1.4
raw patch · 2 files changed
+5/−7 lines, 2 filesdep −Globdep ~basedep ~doctest
Dependencies removed: Glob
Dependency ranges changed: base, doctest
Files
- modular-arithmetic.cabal +4/−5
- test-suite/DocTest.hs +1/−2
modular-arithmetic.cabal view
@@ -1,5 +1,5 @@ name: modular-arithmetic-version: 1.2.1.3+version: 1.2.1.4 synopsis: A type for integers modulo some constant. description: A convenient type for working with integers modulo some constant. It saves you from manually wrapping numeric operations all over the place and prevents a range of simple mistakes. @Integer `Mod` 7@ is the type of integers (mod 7) backed by @Integer@.@@ -26,12 +26,11 @@ hs-source-dirs: src ghc-options: -Wall exposed-modules: Data.Modular- build-depends: base >= 4.7 && < 5+ build-depends: base <4.11 test-suite examples hs-source-dirs: test-suite main-is: DocTest.hs type: exitcode-stdio-1.0- build-depends: base >= 4.7 && < 5- , Glob >= 0.7 && < 0.8- , doctest >= 0.9 && < 0.15+ build-depends: base <4.11+ , doctest >= 0.9
test-suite/DocTest.hs view
@@ -1,7 +1,6 @@ module Main (main) where -import System.FilePath.Glob (glob) import Test.DocTest (doctest) main :: IO ()-main = glob "src/**/*.hs" >>= doctest+main = doctest ["src/Data/Modular.hs"]