package ppx_ast
-
ppx_ast
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Type expressions
val varify_constructors :
string list ->
Ppx_ast__.Import.Parsetree.core_type ->
Ppx_ast__.Import.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
.