summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaredTobin <>2020-05-12 15:31:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2020-05-12 15:31:00 (GMT)
commit67e7189a2a8740b9e5a62e1c3d62a23f1dabd97f (patch)
treebb4db974f37f890ad5f8b5df48f142b49b66d694
parent3fdffda09e8ad92fbd2d1a4df0a4a345a6fd8bb2 (diff)
version 0.3.40.3.4
-rw-r--r--lib/Numeric/Sampling.hs2
-rw-r--r--sampling.cabal5
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/Numeric/Sampling.hs b/lib/Numeric/Sampling.hs
index dc9b54f..54168cb 100644
--- a/lib/Numeric/Sampling.hs
+++ b/lib/Numeric/Sampling.hs
@@ -33,7 +33,9 @@ import Data.Foldable (Foldable)
#endif
import Data.Function (on)
import Data.List (sortBy)
+#if __GLASGOW_HASKELL__ < 800
import Data.Monoid
+#endif
import qualified Data.Sequence as S
import qualified Data.Vector as V (toList)
import Numeric.Sampling.Internal
diff --git a/sampling.cabal b/sampling.cabal
index 520dc18..cf2d5ae 100644
--- a/sampling.cabal
+++ b/sampling.cabal
@@ -1,5 +1,5 @@
name: sampling
-version: 0.3.3
+version: 0.3.4
synopsis: Sample values from collections.
homepage: https://github.com/jtobin/sampling
license: MIT
@@ -8,6 +8,7 @@ author: Jared Tobin
maintainer: jared@jtobin.ca
category: Math
build-type: Simple
+tested-with: GHC == 8.2.2, GHC == 8.8.3
cabal-version: >=1.10
description:
Basic sampling tools.
@@ -39,7 +40,7 @@ library
base > 4.8 && < 6
, containers >= 0.5 && < 1
, foldl >= 1.1 && < 2
- , mwc-random >= 0.13 && < 0.14
+ , mwc-random >= 0.13 && < 0.15
, primitive >= 0.6 && < 1
, vector >= 0.11 && < 1