sampling

Basic sampling functionality for Haskell.
Log | Files | Refs | README | LICENSE

commit efdf66f921cff3d2ca4159d04e50b01fb809f680
parent c702ea9e807e7855c9ad3f214ddb4826ff280ae8
Author: Jared Tobin <jared@jtobin.io>
Date:   Tue, 12 May 2020 19:19:16 +0400

Only import Data.Monoid on old GHCs.

Diffstat:
Mlib/Numeric/Sampling.hs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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