packages feed

math-programming-0.5.0: math-programming.cabal

cabal-version:       2.4
name:                math-programming
version:             0.5.0
synopsis:            A library for formulating and solving math programs.
description:         Please see the <https://github.com/prsteele/math-programming/blob/main/README.md README on GitHub>.
bug-reports:         https://github.com/prsteele/math-programming/issues
license:             BSD-3-Clause
license-file:        LICENSE
author:              Patrick Steele
maintainer:          steele.pat@gmail.com
copyright:           2018-2023, Patrick Steele
category:            Math
build-type:          Simple
extra-source-files:  ChangeLog.md

source-repository head
  type:     git
  location: https://github.com/prsteele/math-programming

library
  default-language:  Haskell2010
  hs-source-dirs:    src
  exposed-modules:   Math.Programming
                   , Math.Programming.Types
                   , Math.Programming.Dsl
                   , Math.Programming.LinExpr
  other-modules:
  ghc-options:       -Wall
  -- Restrictions on transformers due to https://hub.darcs.net/ross/transformers/issue/90
  build-depends:     base         <5
                   , containers   ^>=0.6
                   , exceptions   ^>=0.10
                   , mtl          ^>=2.2
                   , text         ^>=1.2
                   , transformers ^>=0.5

test-suite math-programming-test-suite
  default-language:  Haskell2010
  type:              exitcode-stdio-1.0
  main-is:           Spec.hs
  hs-source-dirs:    test
  ghc-options:       -threaded -with-rtsopts=-N -Wall
  other-modules:     Math.Programming.LinExprSpec
                   , Math.Programming.DslSpec
  build-depends:     math-programming
                   , base       <5
                   , hspec      ^>=2.8
                   , mtl        ^>=2.2
                   , QuickCheck ^>=2.14
                   , text       ^>=1.2