packages feed

integer-logarithms 1.0.4 → 1.0.5

raw patch · 2 files changed

+23/−23 lines, 2 filesdep −ghc-bignumdep −ghc-primdep −tasty-hunitdep ~QuickCheckdep ~base

Dependencies removed: ghc-bignum, ghc-prim, tasty-hunit

Dependency ranges changed: QuickCheck, base

Files

integer-logarithms.cabal view
@@ -1,5 +1,5 @@ name:               integer-logarithms-version:            1.0.4+version:            1.0.5 cabal-version:      >=1.10 author:             Daniel Fischer copyright:@@ -23,16 +23,17 @@  category:           Math, Algorithms, Number Theory tested-with:-    GHC ==8.6.5-     || ==8.8.4-     || ==8.10.4-     || ==9.0.2-     || ==9.2.8-     || ==9.4.8-     || ==9.6.6-     || ==9.8.4-     || ==9.10.1-     || ==9.12.1+  GHC ==8.6.5+   || ==8.8.4+   || ==8.10.4+   || ==9.0.2+   || ==9.2.8+   || ==9.4.8+   || ==9.6.6+   || ==9.8.4+   || ==9.10.2+   || ==9.12.2+   || ==9.14.1  extra-source-files:   changelog.md@@ -52,17 +53,14 @@   default-language: Haskell2010   hs-source-dirs:   src   build-depends:-      array     >=0.5.3.0  && <0.6-    , base      >=4.12.0.0 && <4.22-    , ghc-prim  <0.14+      array  >=0.5.3.0  && <0.6+    , base   >=4.12.0.0 && <4.23    if !impl(ghc >=7.10)     build-depends: nats >=1.1.2 && <1.2    if impl(ghc >=9.0)-    build-depends:-        base        >=4.15-      , ghc-bignum  >=1.0  && <1.4+    build-depends: base >=4.15      if !flag(integer-gmp)       build-depends: invalid-cabal-flag-settings <0@@ -113,12 +111,11 @@   build-depends:       base     , integer-logarithms-    , QuickCheck          >=2.14.1 && <2.16-    , smallcheck          >=1.2    && <1.3-    , tasty               >=1.4   && <1.6-    , tasty-hunit         >=0.10    && <0.11-    , tasty-quickcheck    >=0.10    && <0.12-    , tasty-smallcheck    >=0.8    && <0.9+    , QuickCheck          >=2.16.0.0 && <2.18+    , smallcheck          >=1.2      && <1.3+    , tasty               >=1.4      && <1.6+    , tasty-quickcheck    >=0.10     && <0.12+    , tasty-smallcheck    >=0.8      && <0.9    other-modules:     Math.NumberTheory.LogarithmsTests
test-suite/Orphans.hs view
@@ -1,12 +1,15 @@+{-# LANGUAGE CPP #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Orphans () where  import Numeric.Natural (Natural) import Test.QuickCheck (Arbitrary (..)) +#if !MIN_VERSION_QuickCheck(2,17,0) -- | The QuickCheck-2.10 doesn't define the Arbitrary Natural instance -- We define own instance (and not use quickcheck-instance) to break -- the cycle in tests. instance Arbitrary Natural where     arbitrary = fmap (fromInteger . abs) arbitrary     shrink = map (fromInteger . abs) . shrink . fromIntegral+#endif