package ppxx

  1. Overview
  2. Docs

Module Helper.TypSource

include module type of struct include Ppxlib.Ast_helper.Typ end

varify_constructors newtypes te is type expression te, of which any of nullary type constructor tc is replaced by type variable of the same name, if tc's name appears in newtypes. Raise Syntaxerr.Variable_in_scope if any type variable inside te appears in newtypes.

  • since 4.05
OCaml

Innovation. Community. Security.