fast-arithmetic 0.6.2.0 → 0.6.2.2
raw patch · 3 files changed
+20/−15 lines, 3 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Numeric.NumberTheory: radical :: Int -> Int
Files
- CHANGELOG.md +4/−0
- fast-arithmetic.cabal +15/−15
- src/Numeric/NumberTheory.hs +1/−0
CHANGELOG.md view
@@ -1,5 +1,9 @@ # fast-arithmetic +## 0.6.2.1++ * Export `radical`+ ## 0.6.2.0 * Add `radical` for computing radicals of integers
fast-arithmetic.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: fast-arithmetic-version: 0.6.2.0+version: 0.6.2.2 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2018 Vanessa McHale@@ -64,32 +64,32 @@ build-depends: base >=4.3 && <5, composition-prelude >=1.2.0.0- + if impl(ghc >=8.0) cc-options: -mtune=native -flto -O3- + if os(windows) buildable: False- + if !flag(no-integer-gmp) exposed-modules: Numeric.Combinatorics- + if !flag(no-integer-gmp) c-sources: cbits/combinatorics.c- + if !flag(no-integer-gmp) build-depends: gmpint -any- + if os(windows) buildable: False- + if impl(ghc >=8.0) ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat- + if flag(development) ghc-options: -Werror @@ -105,17 +105,17 @@ hspec -any, QuickCheck -any, arithmoi >=0.6.0.0- + if impl(ghc >=8.4) build-depends: combinat-compat -any else build-depends: combinat -any- + if flag(development) ghc-options: -Werror- + if impl(ghc >=8.0) ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat@@ -131,17 +131,17 @@ fast-arithmetic -any, criterion -any, arithmoi >=0.6.0.0- + if impl(ghc >=8.4) build-depends: combinat-compat -any else build-depends: combinat -any- + if flag(development) ghc-options: -Werror- + if impl(ghc >=8.0) ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat
src/Numeric/NumberTheory.hs view
@@ -11,6 +11,7 @@ , isPerfect , sumDivisors , isPrime+ , radical ) where import Foreign.C