sampling

Basic sampling functionality for Haskell.
git clone git://git.jtobin.io/sampling.git
Log | Files | Refs | README | LICENSE

Main.hs (172B)


      1 {-# OPTIONS_GHC -fno-warn-type-defaults #-}
      2 
      3 module Main where
      4 
      5 import Numeric.Sampling
      6 
      7 main :: IO ()
      8 main = do
      9   foo <- resampleIO 100 ([1..100000] :: [Int])
     10   print foo