packages feed

Modulo 0.1.0.0 → 0.2.0.0

raw patch · 2 files changed

+3/−3 lines, 2 filesdep ~basedep ~numeric-prelude

Dependency ranges changed: base, numeric-prelude

Files

Modulo.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.1.0.0+version:             0.2.0.0  -- 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.*, numeric-prelude ==0.3.*+  build-depends:       base >=4.5 && <= 4.6, 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 = x n+Mod x `modulo` n = fromInteger $ x n infixr 2 `modulo`  x === y = \f -> f x == f y