Modulo 0.2.0.0 → 0.2.0.1
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- Modulo.cabal +2/−2
- Number/Modulo.hs +1/−1
Modulo.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.2.0.0+version: 0.2.0.1 -- A short (one-line) description of the package. synopsis: Modular arithmetic via Numeric-Prelude@@ -52,5 +52,5 @@ -- other-modules: -- Other library packages from which modules are imported.- build-depends: base >=4.5 && <= 4.6, numeric-prelude >=0.3+ build-depends: base ==4.*, numeric-prelude >=0.3
Number/Modulo.hs view
@@ -74,7 +74,7 @@ where (q,r) = n `quotRem` 2 -- | Calculate x modulo n-Mod x `modulo` n = fromInteger $ x n+Mod x `modulo` n = x n infixr 2 `modulo` x === y = \f -> f x == f y