2017-09-04 13:19:11 +03:00
|
|
|
name: asyncly
|
|
|
|
version: 0.1.0
|
|
|
|
synopsis: Beautiful High Level Concurrent Composition
|
|
|
|
description: Asyncly is best described as a superset of list transformer
|
|
|
|
(`ListT`) or logic programming monad (`LogicT`)
|
2017-09-04 13:37:46 +03:00
|
|
|
with additional support for concurrent operation. Monadic
|
2017-09-04 13:19:11 +03:00
|
|
|
streams of data can be composed using serial or parallel
|
|
|
|
compositions with or without fair interleaving, enabling a
|
|
|
|
high level composition of concurrent tasks without
|
2017-09-04 13:37:46 +03:00
|
|
|
requiring knowledge of low level concurrency
|
2017-09-04 13:19:11 +03:00
|
|
|
primitives. The programmer just expresses whether a task
|
|
|
|
can run in parallel with another. Threads, synchronization
|
|
|
|
and concurrency rate control is handled automatically.
|
|
|
|
.
|
|
|
|
This library was originally inspired by the `transient`
|
|
|
|
package authored by Alberto G. Corona.
|
2017-06-30 23:32:39 +03:00
|
|
|
homepage: http://github.com/harendra-kumar/asyncly
|
|
|
|
bug-reports: https://github.com/harendra-kumar/asyncly/issues
|
2017-09-04 13:26:05 +03:00
|
|
|
license: BSD3
|
2017-06-07 18:32:27 +03:00
|
|
|
license-file: LICENSE
|
2017-09-04 13:19:11 +03:00
|
|
|
author: Harendra Kumar
|
2017-06-07 18:32:27 +03:00
|
|
|
maintainer: harendra.kumar@gmail.com
|
2017-09-04 13:19:11 +03:00
|
|
|
copyright: 2017 Harendra Kumar
|
|
|
|
category: Control, Concurrency, Streaming
|
2017-06-07 18:32:27 +03:00
|
|
|
stability: Experimental
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >= 1.10
|
|
|
|
|
|
|
|
library
|
|
|
|
hs-source-dirs: src
|
2017-06-30 23:32:39 +03:00
|
|
|
exposed-modules: Asyncly
|
|
|
|
, Asyncly.AsyncT
|
2017-06-07 18:32:27 +03:00
|
|
|
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates
|
|
|
|
-fwarn-incomplete-uni-patterns -fwarn-tabs
|
|
|
|
|
2017-08-31 03:41:46 +03:00
|
|
|
build-depends: base >= 4.8 && < 5
|
2017-09-01 16:43:20 +03:00
|
|
|
, atomic-primops >= 0.8 && < 0.9
|
2017-08-31 03:41:46 +03:00
|
|
|
, containers >= 0.5 && < 0.6
|
|
|
|
, exceptions >= 0.8 && < 0.9
|
|
|
|
, lifted-base >= 0.2 && < 0.3
|
2017-09-02 10:18:34 +03:00
|
|
|
, 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
|
|
|
|
, transformers >= 0.5 && < 0.6
|
|
|
|
, transformers-base >= 0.4 && < 0.5
|
2017-06-07 18:32:27 +03:00
|
|
|
|
2017-06-30 23:05:49 +03:00
|
|
|
test-suite test
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Main.hs
|
|
|
|
hs-source-dirs: test
|
2017-08-30 12:46:14 +03:00
|
|
|
ghc-options: -O0 -Wall -fwarn-identities -fwarn-incomplete-record-updates
|
|
|
|
-fwarn-incomplete-uni-patterns -fwarn-tabs
|
2017-06-30 23:05:49 +03:00
|
|
|
build-depends:
|
2017-08-31 03:41:46 +03:00
|
|
|
asyncly
|
|
|
|
, base >= 4.8 && < 5
|
|
|
|
, hspec >= 2.0 && < 3
|
|
|
|
, containers >= 0.5 && < 0.6
|
2017-06-30 23:05:49 +03:00
|
|
|
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
|
|
|
|
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates
|
|
|
|
-fwarn-incomplete-uni-patterns -fwarn-tabs
|
|
|
|
-O2 -funbox-strict-fields
|
2017-07-22 17:19:52 +03:00
|
|
|
-fno-ignore-asserts
|
2017-07-17 18:58:04 +03:00
|
|
|
build-depends:
|
|
|
|
asyncly
|
2017-08-31 03:41:46 +03:00
|
|
|
, atomic-primops >= 0.8 && < 0.9
|
|
|
|
, base >= 4.8 && < 5
|
|
|
|
, criterion >= 1 && < 2
|
|
|
|
, list-t >= 1 && < 2
|
|
|
|
, logict >= 0.6 && < 0.7
|
|
|
|
, machines >= 0.6 && < 0.7
|
|
|
|
, mtl >= 2.2 && < 3
|
2017-09-05 09:31:00 +03:00
|
|
|
, simple-conduit >= 0.6 && < 0.7
|
2017-08-31 03:41:46 +03:00
|
|
|
, transient >= 0.5 && < 0.6
|
2017-07-17 18:58:04 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
2017-06-07 18:32:27 +03:00
|
|
|
source-repository head
|
|
|
|
type: git
|
2017-06-30 23:32:39 +03:00
|
|
|
location: https://github.com/harendra-kumar/asyncly
|