commit 3611122f870dd0c6f0ec4147c6f7882339c03823 parent bb995926c2952eb9d9f3d6d3aaac3c43ef8df777 Author: Jared Tobin <jared@jtobin.ca> Date: Tue, 9 Feb 2016 21:29:36 +1300 Minor version bump (0.1.1). Diffstat:
M | .travis.yml | | | 11 | +---------- |
M | sampling.cabal | | | 2 | +- |
M | src/Main.hs | | | 3 | +-- |
3 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -1,11 +1,2 @@ sudo: false -env: - STACK_YAML: stack.yml - -install: - - stack --no-terminal --skip-ghc-check setup - - stack --no-terminal --skip-ghc-check build --copy-bins - -script: - - stack --no-terminal --skip-ghc-check test --flag "*":release - +language: haskell diff --git a/sampling.cabal b/sampling.cabal @@ -1,5 +1,5 @@ name: sampling -version: 0.1.0 +version: 0.1.1 synopsis: Sample values from collections. homepage: https://github.com/jtobin/sampling license: MIT diff --git a/src/Main.hs b/src/Main.hs @@ -7,6 +7,5 @@ import qualified Data.Map.Strict as Map main :: IO () main = do - -- foo <- resampleIO 100 ([1..1000000] :: [Int]) - foo <- resampleIO 100 (Map.fromList $ zip [1..1000] (repeat 'a')) + foo <- resampleIO 100 ([1..100000] :: [Int]) print foo