packages feed

consistent-0.1.0: consistent.cabal

Name:                consistent
Version:             0.1.0
Synopsis:            Eventually consistent STM transactions.
License-file:        LICENSE
License:             MIT
Author:              John Wiegley
Maintainer:          johnw@newartisans.com
Build-Type:          Simple
Cabal-Version:       >=1.10
Category:            System
Description:
  Eventually consistent STM transactions.
  .
  Consistent provides eventually consistent atomic transactions, by delaying
  updates until no threads is mutating a shared variable.
  .
  This comes at a cost of having a separate TVar for every thread, but has the
  advantage that no thread will ever lock or retry except for the manager actor
  responsible for performing the updates.

Source-repository head
  type: git
  location: git://github.com/jwiegley/consistent.git

Library
    default-language:   Haskell98
    ghc-options: -Wall
    build-depends:
        base                 >= 4.9 && < 4.10
      , monad-control        >= 1.0.1
      , transformers         >= 0.5
      , transformers-base    >= 0.4
      , lifted-base          >= 0.2.2.0
      , lifted-async         >= 0.1.1
      , unordered-containers >= 0.2.3.0
      , stm                  >= 2.4.2
    exposed-modules:
        Control.Concurrent.Consistent

test-suite test
    hs-source-dirs: test
    default-language: Haskell2010
    main-is: main.hs
    type: exitcode-stdio-1.0
    ghc-options: -Wall -threaded
    build-depends:
        base
      , consistent
      , transformers         >= 0.4
      , lifted-async         >= 0.1.1