package pattern

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.3.1.tar.gz
sha512=7aca3237073dd353c728e38c075946e57eb9d9a4440221e240509ceac96172d2e37d99c95d7a80865a9525e9e575e1fcc6e7b149a2311c5dc657341ed0901784

CHANGES.md.html

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.