package ppxx

  1. Overview
  2. Docs

Patterns

Create a pattern variable.

val unit : unit -> Ast_405.Parsetree.pattern

Translate an expression as a pattern. For example, of_expr (Expr.parse "(x, y)") returns an AST for (x, y).

Imported from Ast_helper

OCaml

Innovation. Community. Security.