packages feed

transaction-0.1.1.3: transaction.cabal

name:                transaction
version:             0.1.1.3
synopsis:            Monadic representation of transactions.
description:
    Monadic representation of transactions. Alike `List`, but can be declared with `do` notations.
homepage:            https://github.com/arowM/haskell-transaction#readme
license:             MIT
license-file:        LICENSE
author:              Kadzuya Okamoto
maintainer:          arow.okamoto+github@gmail.com
copyright:           2018 Kadzuya Okamoto
category:            Data
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Data.Transaction
  build-depends:       base >= 4.9 && < 5
                     , mono-traversable >= 1.0.0.1 && < 1.1
  default-language:    Haskell2010
  default-extensions:  OverloadedStrings
                     , RecordWildCards
  other-extensions:    GeneralizedNewtypeDeriving
  ghc-options:         -Wcompat -Wall
  if !impl(ghc >= 8.0)
    build-depends: semigroups == 0.18.*

test-suite transaction-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , hspec >= 2.5 && < 3
                     , mono-traversable >= 1.0.0.1 && < 1.1
                     , QuickCheck >= 2.11 && < 3
                     , transaction
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

test-suite doctest
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Doctest.hs
  build-depends:       base
                     , Glob
                     , doctest >= 0.10
                     , transaction
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/arowM/haskell-transaction