streamly/streamly.cabal

237 lines
7.6 KiB
Plaintext
Raw Normal View History

name: streamly
2018-03-25 01:11:28 +03:00
version: 0.1.2
2017-10-20 07:06:00 +03:00
synopsis: Beautiful Streaming, Concurrent and Reactive Composition
2017-12-02 18:39:06 +03:00
description:
Streamly is a monad transformer unifying non-determinism
(<https://hackage.haskell.org/package/list-t list-t>\/<https://hackage.haskell.org/package/logict logict>),
concurrency (<https://hackage.haskell.org/package/async async>),
streaming (<https://hackage.haskell.org/package/conduit conduit>\/<https://hackage.haskell.org/package/pipes pipes>),
and FRP (<https://hackage.haskell.org/package/Yampa Yampa>\/<https://hackage.haskell.org/package/reflex reflex>)
functionality in a concise and intuitive API.
High level concurrency makes concurrent applications almost indistinguishable
from non-concurrent ones. By changing a single combinator you can control
whether the code runs serially or concurrently. It naturally integrates
concurrency with streaming rather than adding it as an afterthought.
Moreover, it interworks with the popular streaming libraries.
2017-10-20 07:06:00 +03:00
.
2017-12-02 18:39:06 +03:00
See the README for an overview and the haddock documentation for full
reference. It is recommended to read the comprehensive tutorial module
"Streamly.Tutorial" first. Also see "Streamly.Examples" for some working
examples.
2017-12-05 18:40:43 +03:00
homepage: https://github.com/composewell/streamly
bug-reports: https://github.com/composewell/streamly/issues
license: BSD3
license-file: LICENSE
2018-03-18 15:41:11 +03:00
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
author: Harendra Kumar
maintainer: harendra.kumar@gmail.com
copyright: 2017 Harendra Kumar
2017-09-06 06:29:43 +03:00
category: Control, Concurrency, Streaming, Reactivity
stability: Experimental
build-type: Simple
cabal-version: >= 1.10
2017-12-04 13:39:36 +03:00
extra-source-files:
Changelog.md
README.md
stack-7.10.yaml
stack.yaml
2017-10-18 09:21:38 +03:00
source-repository head
type: git
2017-12-05 18:40:43 +03:00
location: https://github.com/composewell/streamly
2017-10-18 09:21:38 +03:00
2017-09-14 06:10:50 +03:00
flag dev
description: Build development version
manual: True
default: False
flag extra-benchmarks
description: Include comparative benchmarks
manual: True
default: False
2017-10-18 09:21:38 +03:00
flag examples
description: Build examples
manual: True
default: False
flag examples-sdl
description: Include examples that use SDL dependency
manual: True
default: False
library
hs-source-dirs: src
other-modules: Streamly.Core
, Streamly.Streams
exposed-modules: Streamly.Prelude
, Streamly.Time
, Streamly.Tutorial
, Streamly
if flag(examples) || flag(examples-sdl)
exposed-modules: Streamly.Examples
, Streamly.Examples.SearchEngineQuery
, Streamly.Examples.ListDirRecursive
, Streamly.Examples.MergeSortedStreams
, Streamly.Examples.AcidRainGame
if flag(examples-sdl)
exposed-modules: Streamly.Examples.CirclingSquare
default-language: Haskell2010
ghc-options: -Wall
2017-09-14 06:10:50 +03:00
if flag(dev)
ghc-options: -Wmissed-specialisations
-Wall-missed-specialisations
-fno-ignore-asserts
if impl(ghc >= 8.0)
ghc-options: -Wcompat
-Wunrecognised-warning-flags
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances
if flag(examples-sdl)
cpp-options: -DEXAMPLES_SDL
2017-08-31 03:41:46 +03:00
build-depends: base >= 4.8 && < 5
, atomic-primops >= 0.8 && < 0.9
2017-08-31 03:41:46 +03:00
, containers >= 0.5 && < 0.6
2018-03-18 09:52:59 +03:00
, exceptions >= 0.8 && < 0.11
2017-08-31 03:41:46 +03:00
, lifted-base >= 0.2 && < 0.3
, lockfree-queue >= 0.2.3 && < 0.3
2017-08-31 03:41:46 +03:00
, monad-control >= 1.0 && < 2
, mtl >= 2.2 && < 3
, stm >= 2.4.3 && < 2.5
2017-09-05 11:04:39 +03:00
, transformers >= 0.4 && < 0.6
2017-08-31 03:41:46 +03:00
, transformers-base >= 0.4 && < 0.5
2017-09-08 20:10:23 +03:00
if impl(ghc < 8.0)
build-depends:
semigroups >= 0.18 && < 0.19
if flag(examples) || flag(examples-sdl)
build-Depends:
2018-03-15 22:15:13 +03:00
http-conduit >= 2.2.2 && < 2.4
2017-12-04 13:39:36 +03:00
, path-io >= 0.1.0 && < 1.4
, random >= 1.0.0 && < 1.2
if flag(examples-sdl)
build-Depends:
SDL >= 0.6.5 && < 0.7
test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
2017-09-14 06:10:50 +03:00
ghc-options: -O0 -Wall
if flag(dev)
ghc-options: -Wmissed-specialisations
-Wall-missed-specialisations
if impl(ghc >= 8.0)
ghc-options: -Wcompat
-Wunrecognised-warning-flags
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances
build-depends:
streamly
2017-08-31 03:41:46 +03:00
, base >= 4.8 && < 5
, hspec >= 2.0 && < 3
, containers >= 0.5 && < 0.6
2017-09-05 11:04:39 +03:00
if impl(ghc < 8.0)
build-depends:
transformers >= 0.4 && < 0.6
default-language: Haskell2010
2017-07-17 18:58:04 +03:00
benchmark bench
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: benchmark
2017-09-14 06:10:50 +03:00
ghc-options: -O2 -Wall
if flag(dev)
ghc-options: -Wmissed-specialisations
-Wall-missed-specialisations
-fno-ignore-asserts
if impl(ghc >= 8.0)
ghc-options: -Wcompat
-Wunrecognised-warning-flags
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances
2017-07-17 18:58:04 +03:00
build-depends:
streamly
2017-08-31 03:41:46 +03:00
, atomic-primops >= 0.8 && < 0.9
, base >= 4.8 && < 5
2018-03-27 23:18:04 +03:00
, gauge >= 0.2.1 && < 0.3
2017-08-31 03:41:46 +03:00
, mtl >= 2.2 && < 3
if impl(ghc < 8.0)
build-depends:
transformers >= 0.4 && < 0.6
if flag(extra-benchmarks)
cpp-options: -DEXTRA_BENCHMARKS
build-depends:
list-t >= 0.4 && < 2
, logict >= 0.6 && < 0.7
, machines >= 0.5 && < 0.7
, simple-conduit >= 0.6 && < 0.7
, transient >= 0.4 && < 0.6
2017-07-17 18:58:04 +03:00
default-language: Haskell2010
-------------------------------------------------------------------------------
-- Examples
-------------------------------------------------------------------------------
2017-10-18 09:21:38 +03:00
executable loops
2018-03-25 05:04:03 +03:00
default-language: Haskell2010
2017-10-18 09:21:38 +03:00
main-is: loops.hs
hs-source-dirs: examples
if flag(examples)
buildable: True
build-Depends:
streamly
2017-10-18 09:21:38 +03:00
, base >= 4.8 && < 5
else
buildable: False
executable nested-loops
2018-03-25 05:04:03 +03:00
default-language: Haskell2010
2017-10-18 09:21:38 +03:00
main-is: nested-loops.hs
hs-source-dirs: examples
if flag(examples)
buildable: True
build-Depends:
streamly
2017-12-04 13:39:36 +03:00
, base >= 4.8 && < 5
, random >= 1.0.0 && < 1.2
2017-10-18 09:21:38 +03:00
else
buildable: False
executable parallel-loops
2018-03-25 05:04:03 +03:00
default-language: Haskell2010
2017-10-18 09:21:38 +03:00
main-is: parallel-loops.hs
hs-source-dirs: examples
if flag(examples)
buildable: True
build-Depends:
streamly
2017-12-04 13:39:36 +03:00
, base >= 4.8 && < 5
, random >= 1.0.0 && < 1.2
2017-10-18 09:21:38 +03:00
else
buildable: False