Skip to content
queue-base-threading.cabal 2.44 KiB
Newer Older
Yuanle Song's avatar
Yuanle Song committed
name:                queue-base-threading
version:             0.1.0.0
synopsis:            Initial project template from stack
description:         Please see README.md
homepage:            https://github.com/sylecn/queue-base-threading#readme
license:             BSD3
license-file:        LICENSE
author:              Yuanle Song
maintainer:          sylecn@gmail.com
copyright:           Copyright: (c) 2016 Yuanle Song
category:            Utilities
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

executable seq
  main-is:             sequential.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
  default-language:    Haskell2010

executable try1
  main-is:             try1.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , random
  default-language:    Haskell2010

Yuanle Song's avatar
Yuanle Song committed
executable try2
  main-is:             try2.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , random
  default-language:    Haskell2010

executable try3
  main-is:             try3.hs
  other-modules:       Queue
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , random
  default-language:    Haskell2010

executable testQueue
  main-is:             testQueue.hs
  other-modules:       Queue
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , random
  default-language:    Haskell2010

Yuanle Song's avatar
Yuanle Song committed
executable try4
  main-is:             try4.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , random
                     , stm
  default-language:    Haskell2010
Yuanle Song's avatar
Yuanle Song committed
executable try5
  main-is:             try5.hs
  other-modules:       WorkGroup
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base >= 4.6.0.0
                     , random
  default-language:    Haskell2010

Yuanle Song's avatar
Yuanle Song committed
executable try6
  main-is:             try6.hs
  other-modules:       WorkGroup
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base >= 4.6.0.0
                     , random
                     , stm
                     , stm-chans
  default-language:    Haskell2010
  default-extensions:  BangPatterns

Yuanle Song's avatar
Yuanle Song committed
source-repository head
  type:     git
  location: https://github.com/sylecn/queue-base-threading