packages feed

downhill-0.4.0.0: downhill.cabal

cabal-version:       2.4

name:                downhill
version:             0.4.0.0
synopsis:            Reverse mode automatic differentiation
homepage:            https://andriusstank.github.io/downhill/
description:
  Simple and well typed implementation of reverse mode automatic differentiation.
  See home page <https://andriusstank.github.io/downhill/> for more detailed
  description.
bug-reports:         https://github.com/andriusstank/downhill/issues
license:             MIT
license-file:        LICENSE
author:              Andrius Stankevičius
maintainer:          floppycat@gmail.com
-- copyright:
category:            Math
extra-source-files:  CHANGELOG.md

library
  exposed-modules:     Downhill.Linear.Expr,
                       Downhill.Linear.BackGrad,
                       Downhill.Linear.Backprop,
                       Downhill.Linear.Lift,
                       Downhill.Linear.Prelude,
                       Downhill.Internal.Graph.Types,
                       Downhill.Internal.Graph.OpenMap,
                       Downhill.Internal.Graph.NodeMap,
                       Downhill.Internal.Graph.OpenGraph,
                       Downhill.Internal.Graph.Graph,
                       Downhill.Grad,
                       Downhill.BVar,
                       Downhill.BVar.Num
                       Downhill.BVar.Prelude,
                       Downhill.BVar.Traversable,
                       Downhill.Metric
  -- other-modules:
  -- other-extensions:
  build-depends:       base                  >= 4.12.0.0 && <4.18,
                       containers            >= 0.6.5 && < 0.7,
                       reflection            >= 2.1.6 && < 2.2,
                       transformers          >= 0.5.6 && < 0.7,
                       unordered-containers  >= 0.2.14 && < 0.3,
                       vector-space          >= 0.16 && < 0.17,
  hs-source-dirs:      src
  other-modules:
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite downhill-test
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  other-modules:       DownhillTest.Point,
                       DownhillTest.Traversable,
                       DownhillTest.Bilinear
  build-depends:       base,
                       downhill,
                       tasty, tasty-hunit, tasty-hedgehog,
                       vector-space,
                       hedgehog
  hs-source-dirs:      test
  default-language:    Haskell2010