Ast_helper.Vb(3)
β¨ NAME β¨
Ast_helper.Vb β value bindings, bestie! Value bindings is literally the whole vibe. This page is from the OCaml library manual, and the page title is Ast_helper.Vb(3).
π¦ Module π¦
Module Ast_helper.Vb
π Documentation π
okay so under documentation we have the module and the function, and itβs giving very short-and-slay.
πΈ Module Vb πΈ
The module is called Vb, and its signature is exactly this:
Module Vb
: sig end
thatβs it. thatβs the whole sig. no cap. π
π Value bindings π
This section is about value bindings, and there is exactly one function here: mk. Hereβs the signature, character for character, no edits, no βfixingβ:
val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
?docs:Docstrings.docs -> ?text:Docstrings.text ->
?value_constraint:Parsetree.value_constraint -> Parsetree.pattern ->
Parsetree.expression -> Parsetree.value_binding
The optional args are:
?loc:Ast_helper.loc?attrs:Ast_helper.attrs?docs:Docstrings.docs?text:Docstrings.text?value_constraint:Parsetree.value_constraint
Then the required ones are Parsetree.pattern and Parsetree.expression, and it returns a Parsetree.value_binding. periodt. π
This iconic little page was served to you by OCamldoc, dated 2026-06-22, with full OCaml library energy. π«Άβ¨
π¦ where this page comes from
- arch rolling: ocaml 5.5.0-1 Β· LGPL2.1 AND custom: QPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms