package pattern

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type pattern = Parsetree.pattern
and expression = Parsetree.expression
and mismatch = {
  1. ident : string;
  2. expected : pattern;
  3. got : expression option;
}
and failure = {
  1. common : pattern;
  2. mismatches : mismatch list;
}
and 'a pattern_result = ('a, failure) result
val show_pattern : pattern -> Ppx_deriving_runtime.string
val show_expression : expression -> Ppx_deriving_runtime.string
val show_mismatch : mismatch -> Ppx_deriving_runtime.string
val show_failure : failure -> Ppx_deriving_runtime.string
type ('a, 'b) matcher = ?quoted:Parsetree.expression -> 'a -> 'b pattern_result
val format_failure : Format.formatter -> failure -> unit
val elim_type_constraints : Parsetree.expression -> Parsetree.expression
OCaml

Innovation. Community. Security.