packages feed

canon 0.1.1.1 → 0.1.1.2

raw patch · 3 files changed

+7/−5 lines, 3 filesdep ~arithmoi

Dependency ranges changed: arithmoi

Files

Changes view
@@ -1,3 +1,6 @@+0.1.1.2:+    Change to use aritmoi-0.9.0.0. Breaking change with primes function.+ 0.1.1.1:      Add support for arithmoi-0.9.0.0 which had a breaking change that affected the Internals.hs file. (No change to API) 
Math/NumberTheory/Canon.hs view
@@ -54,7 +54,7 @@ ) where -import Math.NumberTheory.Primes (primes)+import Math.NumberTheory.Primes (primes, unPrime) import Math.NumberTheory.Primes.Testing (isPrime) import Data.List  import Data.Maybe (fromMaybe)@@ -2266,7 +2266,7 @@                  where cL@(b:_) = cGetHyperList c  smallPrimeCanons :: [Canon]-smallPrimeCanons = map (\p -> Bare p Simp) $ take 1000 primes+smallPrimeCanons = map (\p -> Bare p Simp) $ map unPrime $ take 1000 primes  -- | This will determine if two arbitary expressions are relatively prime or not (if possible).  Goes deep. cRelativelyPrime :: Canon -> Canon -> Maybe Bool
canon.cabal view
@@ -2,7 +2,7 @@ --  see http://haskell.org/cabal/users-guide/  name:                canon-version:             0.1.1.1+version:             0.1.1.2 synopsis:            Arithmetic for Psychedelically Large Numbers description:         This library allows one to manipulate numbers of practically unlimited size by keeping them in factored "canonical" form, where possible.  This original concept has been expanded to support arbitrary integral hyperoperations.  For manipulating sums and differences, there is additional code to factor expressions of special forms.  Please refer to CanonManualTests.hs and the .odp presentation files for usage examples and background. @@ -19,7 +19,7 @@  library     build-depends       : base >= 4.9.1.0 && < 5-                        , arithmoi >= 0.6.0.1 && < 1.0+                        , arithmoi >= 0.9 && < 1.0                         , array >= 0.5.1.1 && < 0.6                         , containers >= 0.5.7.1 && < 0.7                         , random >= 1.0 && < 1.2@@ -33,6 +33,5 @@                           Math.NumberTheory.Canon.Additive      ghc-options         : -Wall-    ghc-prof-options    : -auto      default-language:    Haskell2010