packages feed

gochan-0.0.2: gochan.cabal

name: gochan
version: 0.0.2
cabal-version: >=1.10
build-type: Simple
license: MIT
license-file: LICENSE
copyright: Copyright (C) 2016 Charles Strahan
maintainer: Charles Strahan <charles@cstrahan.com>
homepage: http://github.com/cstrahan/gochan
bug-reports: http://github.com/cstrahan/gochan/issues
synopsis: Go-style channels
description: This library provides bounded channels similar to those popularized
             by the Go programming language.
             .
             THIS LIBRARY IS STILL ALPHA AND SUBJECT TO CHANGE.
             .
             Breaking changes during the 0.0.X series won't result in a major
             version bump (I hope to release a stable 1.0.0 soon).
             .
             Please give gochan a try and file an issue or pull request if you
             discover any ways to improve this library.
category: Concurrency
author: Charles Strahan <charles@cstrahan.com>
extra-source-files:
    .gitignore

source-repository head
    type: git
    location: git://github.com/cstrahan/gochan.git

library
    exposed-modules:
        Control.Concurrent.GoChan
    build-depends:
        base >=4 && <5,
        array -any,
        random -any,
        vector -any,
        vector-algorithms -any,
        primitive -any,
        ghc-prim -any
    default-language: Haskell2010
    hs-source-dirs: src
    ghc-options: -O2

executable bench
    main-is: Main.hs
    build-depends:
        base >=4 && <5,
        criterion -any,
        gochan -any,
        random -any
    default-language: Haskell98
    hs-source-dirs: bench
    ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2

executable weight
    main-is: Main.hs
    build-depends:
        base >=4 && <5,
        weigh -any,
        gochan -any
    default-language: Haskell98
    hs-source-dirs: weight
    ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2

test-suite fuzz
    type: exitcode-stdio-1.0
    main-is: Main.hs
    build-depends:
        base >=4 && <5,
        hspec -any,
        hspec-core -any,
        hspec-core -any,
        gochan -any
    default-language: Haskell2010
    hs-source-dirs: fuzz
    ghc-options: -Wall