ad-delcont: Reverse-mode automatic differentiation with delimited continuations

[ bsd3, library, machine-learning, math, numeric, optimisation, optimization ] [ Propose Tags ]

Reverse-mode automatic differentiation using delimited continuations (shift/reset), inspired by the papers

The package exposes a small and easily extensible user interface to automatic differentiation combinators. It also manages to be very lightweight, as it only depends on base and transformers.

To use the library, import Numeric.AD.DelCont, which also contains all documentation.

[Skip to Readme]
Versions [RSS] [faq],,
Change log
Dependencies base (>=4.7 && <5), transformers (>=0.5) [details]
License BSD-3-Clause
Copyright (c) 2021 Marco Zocca
Author Marco Zocca
Maintainer ocramz
Category Math, Numeric, Machine Learning, Optimization, Optimisation
Home page
Source repo head: git clone
Uploaded by ocramz at 2021-07-18T19:15:35Z
Distributions NixOS:, Stackage:
Downloads 158 total (10 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-07-18 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees


Readme for ad-delcont-

[back to package description]


Reverse-mode Automatic Differentiation using delimited continuations (shift and reset) , as shown in [1]


  1. Wang et al, Demystifying Differentiable Programming : Shift/Reset the Penultimate Backpropagator,