mod 0.1.2.0 → 0.1.2.1
raw patch · 4 files changed
+9/−5 lines, 4 filesdep ~basedep ~integer-gmpPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, integer-gmp
API changes (from Hackage documentation)
Files
- Data/Mod.hs +1/−1
- README.md +1/−1
- changelog.md +4/−0
- mod.cabal +3/−3
Data/Mod.hs view
@@ -108,7 +108,7 @@ bigNatToNat :: BigNat -> Natural bigNatToNat r# =- if isTrue# (sizeofBigNat# r# ==# 1#) then NatS# (bigNatToWord r#) else NatJ# r#+ if isTrue# (sizeofBigNat# r# <=# 1#) then NatS# (bigNatToWord r#) else NatJ# r# subIfGe :: BigNat -> BigNat -> Natural subIfGe z# m# = case z# `compareBigNat` m# of
README.md view
@@ -1,4 +1,4 @@-# mod [](https://travis-ci.org/Bodigrim/mod) [](https://hackage.haskell.org/package/mod) [](https://matrix.hackage.haskell.org/package/mod) [](http://stackage.org/lts/package/mod) [](http://stackage.org/nightly/package/mod)+# mod [](https://github.com/Bodigrim/mod/actions?query=workflow%3AHaskell-CI) [](https://hackage.haskell.org/package/mod) [](https://matrix.hackage.haskell.org/package/mod) [](http://stackage.org/lts/package/mod) [](http://stackage.org/nightly/package/mod) [Modular arithmetic](https://en.wikipedia.org/wiki/Modular_arithmetic), promoting moduli to the type level, with an emphasis on performance.
changelog.md view
@@ -1,3 +1,7 @@+# 0.1.2.1++* Support `integer-gmp-1.1`.+ # 0.1.2.0 * Add `Storable`, `Prim` and `Unbox` instances.
mod.cabal view
@@ -1,5 +1,5 @@ name: mod-version: 0.1.2.0+version: 0.1.2.1 cabal-version: >=1.10 build-type: Simple license: MIT@@ -36,7 +36,7 @@ build-depends: base >=4.10 && <5, deepseq,- integer-gmp <1.1+ integer-gmp <1.2 if flag(semirings) build-depends: semirings >= 0.5@@ -48,7 +48,7 @@ Data.Mod Data.Mod.Word default-language: Haskell2010- ghc-options: -Wall -O2+ ghc-options: -Wall -O2 -Wno-deprecations test-suite mod-tests build-depends: