sampling

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

commit 03141b78c1edfddfbcd6e259778412b85616a16e
parent f7b7423b55addfa72225bb599163d4032d2ef044
Author: Jared Tobin <jared@jtobin.ca>
Date:   Mon,  8 Feb 2016 18:43:51 +1300

Add sample-test, update cabal file.

Diffstat:
Msampling.cabal | 6++----
Msrc/Main.hs | 2+-
2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/sampling.cabal b/sampling.cabal @@ -21,14 +21,13 @@ Source-repository head library default-language: Haskell2010 hs-source-dirs: lib - ghc-options: -Wall + ghc-options: -O2 other-modules: Numeric.Sampling.Internal exposed-modules: Numeric.Sampling build-depends: base < 5 - , data-ordlist , foldl , mwc-random , primitive @@ -39,8 +38,7 @@ executable sample-test hs-source-dirs: src Main-is: Main.hs default-language: Haskell2010 - ghc-options: - -Wall -O2 + ghc-options: -O2 build-depends: base , sampling diff --git a/src/Main.hs b/src/Main.hs @@ -2,7 +2,7 @@ module Main where -import Numeric.Sampling (resampleIO) +import Numeric.Sampling (sampleIO, resampleIO) main :: IO () main = do