Ast\_helper.Type(3) OCaml library Ast\_helper.Type(3)

# [NAME](#NAME)

Ast\_helper.Type - Type declarations

# [Module](#Module)

Module Ast\_helper.Type

# [Documentation](#Documentation)

Module **Type**  
: **sig end**

Type declarations

*val mk* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **?docs:Docstrings.docs -&gt;** **?text:Docstrings.text -&gt;** **?params:(Parsetree.core\_type * (Asttypes.variance * Asttypes.injectivity))** **list -&gt;** **?cstrs:(Parsetree.core\_type * Parsetree.core\_type * Ast\_helper.loc) list -&gt;** **?kind:Parsetree.type\_kind -&gt;** **?priv:Asttypes.private\_flag -&gt;** **?manifest:Parsetree.core\_type -&gt; Ast\_helper.str -&gt; Parsetree.type\_declaration**

*val constructor* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **?info:Docstrings.info -&gt;** **?vars:Ast\_helper.str list -&gt;** **?args:Parsetree.constructor\_arguments -&gt;** **?res:Parsetree.core\_type -&gt;** **Ast\_helper.str -&gt; Parsetree.constructor\_declaration**

*val field* : **?loc:Ast\_helper.loc -&gt;** **?attrs:Ast\_helper.attrs -&gt;** **?info:Docstrings.info -&gt;** **?mut:Asttypes.mutable\_flag -&gt;** **Ast\_helper.str -&gt; Parsetree.core\_type -&gt; Parsetree.label\_declaration**

2026-10-27 OCamldoc

---

Document: Ast_helper.Type(3o) from ocaml-4 4.14.4-r4 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
