This repository contains a dual number implemention in OCaml. It hasn't been super well tested as I haven't used it extensively and hence the 0.1.0 designation. There isn't much to it however and outside of typos it should function as intended. Please submit issues if you find a bug.
If you have no idea what dual numbers are I've provided a brief introduction.
As long as you have a recent version of opam you can install as follows:
$ opam install dual