package pattern

  1. Overview
  2. Docs
Run-time patterns that explain match failures

Install

Dune Dependency

Authors

Maintainers

Sources

v0.2.0.tar.gz
sha512=70c02987409883b83e241c940a1391e90238a856826ca985bd50b64a2966a22057d64b8188445632b3c85610f0ed9c0e5622244f81e95cf3aafdc29bc46e32b3

CHANGES.md.html

pattern 0.2.0, 2020-05-15

  • moved to GitHub

  • do not rely on ppxlib anymore (use metapp, metaquot and refl)

  • pattern ppx rewriter package renamed as pattern.ppx

  • pattern runtime package renamed as pattern

pattern 0.1.1, 2019-09-27

  • compatible with OCaml 4.09.

  • use ppxlib parsetree to be more independent from OCaml version.

  • added Pattern_runtime.check function for a friendlier type inference in patterns

pattern 0.1.0, 2019-05-15

  • PPX extension that generates functions from patterns that explain match failures by returning the common context and the list of differences between a pattern and a value.