packages feed

commutative-0.0.1.3: commutative.cabal

Name:                   commutative
Version:                0.0.1.3
Author:                 Athan Clark <athan.clark@gmail.com>
Maintainer:             Athan Clark <athan.clark@gmail.com>
License:                MIT
License-File:           LICENSE
Synopsis:               Commutative binary operations.
Description:
  This package provides a trivial class for abelian binary operations, and an
  analogue to @Data.Foldable@.
Cabal-Version:          >= 1.10
Build-Type:             Simple
Category:               Data, Math

Library
  Default-Language:     Haskell2010
  HS-Source-Dirs:       src
  GHC-Options:          -Wall
  Exposed-Modules:      Data.Commutative
                        Data.Mergeable
  Build-Depends:        base >= 4.6 && < 5
                      , random
                      , semigroups

Test-Suite spec
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  Hs-Source-Dirs:       src
                      , test
  Ghc-Options:          -Wall
  Main-Is:              Main.hs
  Other-Modules:        Data.Commutative
                        Data.CommutativeSpec
                        Data.Mergeable
  Build-Depends:        base
                      , tasty
                      , tasty-quickcheck
                      , tasty-hunit
                      , QuickCheck
                      , quickcheck-instances
                      , random
                      , semigroups

Source-Repository head
  Type:                 git
  Location:             https://github.com/athanclark/commutative.git