dejafu/dejafu.cabal

101 lines
3.5 KiB
Plaintext
Raw Normal View History

-- Initial monad-conc.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
2015-01-31 18:50:54 +03:00
name: dejafu
version: 0.0.0.0
2015-01-31 18:50:54 +03:00
synopsis: Overloadable primitives for testable, potentially non-deterministic, concurrency.
2015-01-12 17:24:12 +03:00
description:
Concurrency is nice, deadlocks and race conditions not so much. The
@Par@ monad family, as defined in
<https://hackage.haskell.org/package/abstract-par/docs/Control-Monad-Par-Class.html abstract-par>
provides deterministic parallelism, but sometimes we can tolerate a
bit of nondeterminism.
.
2015-01-31 18:50:54 +03:00
This package provides a class of monads for potentially
2015-01-12 17:24:12 +03:00
nondeterministic concurrency, with an interface very much in the
2015-01-31 18:50:54 +03:00
spirit of @Par@, but slightly more relaxed. Specifically,
@MonadConc@'s @IVar@ equivalent, @CVar@s, can be written to multiple
times.
2015-01-12 17:24:12 +03:00
.
2015-01-31 18:50:54 +03:00
== @MonadConc@ with 'IO':
2015-01-12 17:24:12 +03:00
.
2015-01-31 18:50:54 +03:00
The intention of the @MonadConc@ class is to provide concurrency
where any apparent nondeterminism arises purely from the scheduling
behaviour. To put it another way, a given computation, parametrised
with a fixed set of scheduling decisions, is deterministic. This
assumption is used by the testing functionality provided by
Test.DejaFu.
2015-01-12 17:24:12 +03:00
.
Whilst this assumption may not hold in general when 'IO' is
involved, you should strive to produce test cases where it does.
.
2015-01-31 18:50:54 +03:00
See the <https://github.com/barrucadu/dejafu README> for more
2015-01-12 17:24:12 +03:00
details.
2015-01-31 18:50:54 +03:00
homepage: https://github.com/barrucadu/dejafu
2015-03-13 17:58:42 +03:00
license: MIT
license-file: LICENSE
author: Michael Walker
maintainer: mike@barrucadu.co.uk
-- copyright:
category: Concurrency
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
2015-03-13 18:01:03 +03:00
source-repository head
type: git
location: https://github.com/barrucadu/dejafu.git
-- source-repository this
-- type: git
-- location: https://github.com/barrucadu/dejafu.git
-- tag:
library
exposed-modules: Control.Monad.Conc.Class
, Control.Monad.STM.Class
2015-01-28 20:48:26 +03:00
, Control.Concurrent.CVar
, Control.Concurrent.CVar.Strict
, Control.Concurrent.STM.CTVar
, Control.Concurrent.STM.CTMVar
2015-01-28 20:48:26 +03:00
2015-01-31 18:50:54 +03:00
, Test.DejaFu
, Test.DejaFu.Deterministic
, Test.DejaFu.Deterministic.IO
, Test.DejaFu.Deterministic.Schedule
2015-01-31 18:50:54 +03:00
, Test.DejaFu.SCT
2015-02-10 01:04:28 +03:00
, Test.DejaFu.STM
2015-01-31 18:50:54 +03:00
other-modules: Test.DejaFu.Deterministic.Internal
2015-02-16 06:16:55 +03:00
, Test.DejaFu.Deterministic.Internal.Common
, Test.DejaFu.Deterministic.Internal.CVar
, Test.DejaFu.Deterministic.Internal.Threading
2015-02-23 20:24:02 +03:00
, Test.DejaFu.STM.Internal
2015-01-28 20:48:26 +03:00
2015-02-10 01:04:28 +03:00
, Control.State
, Data.List.Extra
2015-01-31 18:50:54 +03:00
-- other-extensions:
2015-02-16 06:33:37 +03:00
build-depends: base >=4.5 && <5
, containers
, deepseq
, exceptions >=0.7
2015-01-24 13:57:05 +03:00
, monad-loops
, mtl
2014-12-19 10:09:26 +03:00
, random
, stm
, transformers
-- hs-source-dirs:
2014-12-21 19:34:55 +03:00
default-language: Haskell2010
ghc-options: -Wall
test-suite tests
hs-source-dirs: tests
type: exitcode-stdio-1.0
main-is: Tests.hs
2015-01-31 18:50:54 +03:00
build-depends: dejafu, base
default-language: Haskell2010