package pattern

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

Install

Dune Dependency

Authors

Maintainers

Sources

pattern.0.3.2.tar.gz
sha512=1bc7d5c52b5cc4f67615d14cb68c39ba6215b6441ff832d685bd13c8fe3faaefcab4449baa25d8ebd88b4043784531edab26ff69ef28156ecd77549b87982e4f

CHANGES.md.html

v0.3.2, 2022-11-17

  • Fix compatibility with ppxlib 0.26

v0.3.1, 2021-10-06

  • Add missing (kind ppx_rewriter) in dune

v0.3.0, 2020-09-22

  • Port to ppxlib 0.16 / ocaml-migrate-parsetree 2.0.0

v0.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

v0.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

v0.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.