package ppxlib_jane

  1. Overview
  2. Docs

The ASTs for immutable arrays. When we merge this upstream, we'll merge these into the existing P{exp,pat}_array constructors by adding a mutable_flag argument (just as we did with T{exp,pat}_array).

type expression =
  1. | Iaexp_immutable_array of Ppxlib_ast.Parsetree.expression list
    (*

    : E1; ...; En :

    *)
type pattern =
  1. | Iapat_immutable_array of Ppxlib_ast.Parsetree.pattern list
    (*

    : P1; ...; Pn : *

    *)
OCaml

Innovation. Community. Security.