packages feed

state-bag-0.1.0.0: state-bag.cabal

name:                state-bag
version:             0.1.0.0
cabal-version:       >=1.10
build-type:          Simple
license:             BSD3
license-file:        LICENSE
extra-source-files:  CHANGELOG
copyright:           (c) 2016 Robin KAY
author:              Robin KAY
maintainer:          komadori@gekkou.co.uk
homepage:            http://www.gekkou.co.uk/software/
category:            Control
synopsis:            Monad transformers for holding bags of state.
description:
    A state monad transformer which can hold multiple different state values
    represented in a type-level list.

library
  exposed-modules:
    Control.Monad.Trans.StateBag.Class,
    Control.Monad.Trans.StateBag.Pure,
    Control.Monad.Trans.StateBag.Primitive
  other-modules:
    Control.Monad.Trans.StateBag.Internal
  other-extensions:
    DataKinds,
    KindSignatures,
    ScopedTypeVariables,
    MultiParamTypeClasses,
    FlexibleContexts,
    FlexibleInstances,
    TypeFamilies,
    TypeOperators,
    RankNTypes,
    MagicHash,
    GeneralizedNewtypeDeriving
  build-depends:
    base         == 4.*,
    ghc-prim     >= 0.4 && < 0.6,
    primitive    >= 0.6 && < 0.7,
    transformers >= 0.4 && < 0.6,
    vector       >= 0.11 && < 0.12
  hs-source-dirs: src
  default-language: Haskell2010

test-suite Test
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  build-depends:
    base         == 4.*,
    state-bag    == 0.1.*,
    transformers >= 0.4 && < 0.6,
    hspec        >= 2.2 && < 2.3

source-repository head
    type:     darcs
    location: http://hub.darcs.net/komadori/state-bag/