packages feed

ad-delcont-0.3.0.0: ad-delcont.cabal

name:                ad-delcont
version:             0.3.0.0
synopsis:            Reverse-mode automatic differentiation with delimited continuations
description:         Reverse-mode automatic differentiation using delimited continuations (@shift@/@reset@).
                     The package exposes a small and easily extensible user interface to automatic differentiation combinators. It's also lightweight as a dependency, since it only requires @base@ and @transformers@.
                     .
                     To use the library, import "Numeric.AD.DelCont", which also contains all documentation.
                     .
                     Blog post : http://ocramz.github.io/haskell/automatic-differentiation/2021/07/19/ad-delcont.html
                     .
                     References :
                     .
                     * F. Wang et al, Backpropagation with Continuation Callbacks : Foundations for Efficient and Expressive Differentiable Programming, NeurIPS 2018 - https://papers.nips.cc/paper/2018/file/34e157766f31db3d2099831d348a7933-Paper.pdf
                     .
                     * F. Wang et al, Demystifying Differentiable Programming : Shift\/Reset the Penultimate Backpropagator, ICFP 2019 - https://www.cs.purdue.edu/homes/rompf/papers/wang-icfp19.pdf
                     .
                     
homepage:            https://github.com/ocramz/ad-delcont
license:             BSD3
license-file:        LICENSE
author:              Marco Zocca
maintainer:          ocramz
copyright:           (c) 2021 Marco Zocca
category:            Math, Numeric, Machine Learning, Optimization, Optimisation
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10
tested-with:         GHC == 8.10.4
extra-source-files:  README.md
                     Changelog.md

library
  default-language:    Haskell2010
  ghc-options:         -Wall
  hs-source-dirs:      src
  exposed-modules:     Numeric.AD.DelCont
  other-modules:       Numeric.AD.DelCont.Internal
  build-depends:       base >= 4.7 && < 5
                     , transformers >= 0.5

-- -- TODO
-- test-suite spec
--   default-language:    Haskell2010
--   ghc-options:         -Wall
--   type:                exitcode-stdio-1.0
--   hs-source-dirs:      test
--   main-is:             Spec.hs
--   build-depends:       base
--                      , ad-delcont
--                      , hspec
--                      , QuickCheck

source-repository head
  type:     git
  location: https://github.com/ocramz/ad-delcont