package ppxlib

  1. Overview
  2. Docs
Base library and tools for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

0.7.0.tar.gz
sha256=278c4dfed19ff3f21e65097e66ce154f47f1bf82098fc494d80536509cfebcd7
md5=8ecc9f9c42245334be543f77900bc1b9

doc/ppxlib.ast/Ppxlib_ast/Ast_helper/Typ/index.html

Module Ast_helper.Typ

Type expressions

val any : ?loc:loc -> ?attrs:attrs -> unit -> Migrate_parsetree.Ast_407.Parsetree.core_type
val var : ?loc:loc -> ?attrs:attrs -> string -> Migrate_parsetree.Ast_407.Parsetree.core_type

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.