sampling

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

commit 957a5d61b24cde056861659a959305d084149c7b
Author: Jared Tobin <jared@jtobin.ca>
Date:   Sun,  7 Feb 2016 12:12:43 +1300

Initial commit.

Diffstat:
A.gitignore | 3+++
ALICENSE | 19+++++++++++++++++++
ASetup.hs | 2++
Alib/Numeric/Sampling.hs | 4++++
Asampling.cabal | 27+++++++++++++++++++++++++++
Astack.yaml | 6++++++
6 files changed, 61 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,3 @@ +.stack-work +*swp + diff --git a/LICENSE b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2016 Jared Tobin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Setup.hs b/Setup.hs @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain diff --git a/lib/Numeric/Sampling.hs b/lib/Numeric/Sampling.hs @@ -0,0 +1,4 @@ + +module Numeric.Sampling where + + diff --git a/sampling.cabal b/sampling.cabal @@ -0,0 +1,27 @@ +name: sampling +version: 0.1.0 +synopsis: Sample values from collections. +homepage: https://github.com/jtobin/sampling +license: MIT +license-file: LICENSE +author: Jared Tobin +maintainer: jared@jtobin.ca +category: Math +build-type: Simple +cabal-version: >=1.10 +description: + Basic tools for sampling from arbitrary collections. + . + FIXME make me more informative. + +Source-repository head + Type: git + Location: http://github.com/jtobin/sampling.git + +library + default-language: Haskell2010 + hs-source-dirs: lib + exposed-modules: + Numeric.Sampling + build-depends: + base < 5 diff --git a/stack.yaml b/stack.yaml @@ -0,0 +1,6 @@ +resolver: lts-5.1 +packages: +- '.' +extra-deps: [] +flags: {} +extra-package-dbs: []