exact-combinatorics 0.2.0.10 → 0.2.0.11
raw patch · 7 files changed
+28/−62 lines, 7 filessetup-changedPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG +8/−5
- README.md +2/−21
- Setup.hs +1/−21
- exact-combinatorics.cabal +8/−6
- src/Math/Combinatorics/Exact/Binomial.hs +3/−3
- src/Math/Combinatorics/Exact/Factorial.hs +3/−3
- src/Math/Combinatorics/Exact/Primes.hs +3/−3
CHANGELOG view
@@ -1,11 +1,14 @@+0.2.0.11 (2021-11-02):+ - Added `Tested-With: GHC == 9.2.1` (didn't actually need to+ nudge the upper bound on 'base', because it's already lenient) 0.2.0.10 (2021-10-16):- - Changed from TravisCI to GithubActions+ - Changed from TravisCI to GithubActions 0.2.0.9 (2019-04-13): - Changed cabal to use Simple build type, to support cabal's new-build.- - Removed the CPP hack for Haddock documentation, as part- of switching to the Simple build type.- - Using BangPatterns in lieu of the old seq-undefined-guard trick.- - Added TravisCI integration+ - Removed the CPP hack for Haddock documentation, as part+ of switching to the Simple build type.+ - Using BangPatterns in lieu of the old seq-undefined-guard trick.+ - Added TravisCI integration 0.2.0.8 (2015-05-30): - Moved VERSION to CHANGELOG 0.2.0.4 (2012-09-26):
README.md view
@@ -9,29 +9,10 @@ ## Install -This is a simple package and should be easy to install via any of-the standared methods:+This is a simple package and should be easy to install via the+standared method: - -- With cabal-install and without the source:- $> cabal new-install exact-combinatorics- -- or: $> cabal install exact-combinatorics- - -- With cabal-install and with the source already:- $> cd exact-combinatorics- $> cabal install- - -- Without cabal-install, but with the source already:- $> cd exact-combinatorics- $> runhaskell Setup.hs configure --user- $> runhaskell Setup.hs build- $> runhaskell Setup.hs test- $> runhaskell Setup.hs haddock --hyperlink-source- $> runhaskell Setup.hs copy- $> runhaskell Setup.hs register--The test step is optional and currently does nothing. The Haddock-step is also optional. ## Portability
Setup.hs view
@@ -1,27 +1,7 @@ #!/usr/bin/env runhaskell--- Cf. <http://www.mail-archive.com/haskell-cafe@haskell.org/msg59984.html>--- <http://www.haskell.org/pipermail/haskell-cafe/2008-December/051785.html> -{-# OPTIONS_GHC -Wall -fwarn-tabs -fno-warn-missing-signatures #-} module Main (main) where import Distribution.Simple-import Distribution.Simple.LocalBuildInfo (withPrograms)-import Distribution.Simple.Program (userSpecifyArgs)----------------------------------------------------------------- --- | Define __HADDOCK__ when building documentation. main :: IO ()-main = defaultMainWithHooks- $ simpleUserHooks `modify_haddockHook` \oldHH pkg lbi hooks flags -> do- - -- Call the old haddockHook with a modified LocalBuildInfo- (\lbi' -> oldHH pkg lbi' hooks flags)- $ lbi `modify_withPrograms` \oldWP ->- userSpecifyArgs "haddock" ["--optghc=-D__HADDOCK__"] oldWP---modify_haddockHook hooks f = hooks { haddockHook = f (haddockHook hooks) }-modify_withPrograms lbi f = lbi { withPrograms = f (withPrograms lbi) }------------------------------------------------------------------------------------------------------------------------------ fin.+main = defaultMain
exact-combinatorics.cabal view
@@ -1,5 +1,5 @@ ------------------------------------------------------------------- wren gayle romano <wren@cpan.org> ~ 2021.10.16+-- wren gayle romano <wren@cpan.org> ~ 2021.11.02 ---------------------------------------------------------------- -- Cabal >=1.10 is required by Hackage.@@ -7,12 +7,13 @@ Build-Type: Simple Name: exact-combinatorics-Version: 0.2.0.10+Version: 0.2.0.11 Stability: experimental-Homepage: https://wrengr.org/+Homepage: https://wrengr.org/software/hackage.html+Bug-Reports: https://github.com/wrengr/exact-combinatorics/issues Author: wren gayle romano Maintainer: wren@cpan.org-Copyright: Copyright (c) 2011--2021 wren gayle romano+Copyright: Copyright (c) 2011–2021 wren gayle romano License: BSD3 License-File: LICENSE @@ -32,7 +33,8 @@ GHC ==8.6.5, GHC ==8.8.4, GHC ==8.10.3,- GHC ==9.0.1+ GHC ==9.0.1,+ GHC ==9.2.1 Source-Repository head Type: git@@ -46,7 +48,7 @@ , Math.Combinatorics.Exact.Factorial , Math.Combinatorics.Exact.Binomial -- Data.IntList- + -- The lower bound is more restrictive than necessary. -- But then, we don't maintain any CI tests for older -- versions, so these are the lowest bounds we've verified.
src/Math/Combinatorics/Exact/Binomial.hs view
@@ -1,11 +1,11 @@ {-# OPTIONS_GHC -Wall -fwarn-tabs #-} ------------------------------------------------------------------- 2012.09.26+-- 2021.10.17 -- | -- Module : Math.Combinatorics.Exact.Binomial--- Copyright : Copyright (c) 2011--2019 wren gayle romano+-- Copyright : Copyright (c) 2011--2021 wren gayle romano -- License : BSD--- Maintainer : wren@community.haskell.org+-- Maintainer : wren@cpan.org -- Stability : experimental -- Portability : Haskell98 --
src/Math/Combinatorics/Exact/Factorial.hs view
@@ -1,12 +1,12 @@ {-# OPTIONS_GHC -Wall -fwarn-tabs #-} {-# LANGUAGE BangPatterns #-} ------------------------------------------------------------------- 2019.04.13+-- 2021.10.17 -- | -- Module : Math.Combinatorics.Exact.Factorial--- Copyright : Copyright (c) 2011--2019 wren gayle romano+-- Copyright : Copyright (c) 2011--2021 wren gayle romano -- License : BSD--- Maintainer : wren@community.haskell.org+-- Maintainer : wren@cpan.org -- Stability : experimental -- Portability : Haskell98 + BangPatterns --
src/Math/Combinatorics/Exact/Primes.hs view
@@ -5,12 +5,12 @@ -fno-warn-name-shadowing #-} ------------------------------------------------------------------- 2012.02.02+-- 2021.10.17 -- | -- Module : Math.Combinatorics.Exact.Primes--- Copyright : Copyright (c) 2011--2019 wren gayle romano+-- Copyright : Copyright (c) 2011--2021 wren gayle romano -- License : BSD--- Maintainer : wren@community.haskell.org+-- Maintainer : wren@cpan.org -- Stability : experimental -- Portability : Haskell98 --