Ast_helper.Ci(3)
hey bestie π welcome to Ast_helper.Ci(3) from the OCaml library manual β yes, the whole manual name is folded in right here like a lil name tag π
β¨ NAME β¨
Ast_helper.Ci - Classes
that's the name, no cap β it's literally giving "classes module" energy π
π¦ Module π¦
Module Ast_helper.Ci
so yeah, this whole page lives under Ast_helper.Ci β iconic module placement, honestly π«Ά
π Documentation π
π Module Ci π
okay so the docs give you this exact signature situation:
Module Ci
: sig end
Module Ci : sig end β that's it. A whole module signature with absolutely nothing inside it, like an empty little room with really good lighting πβ¨
π Classes π
under Classes, there is exactly one thing to look at, and it's val mk β no more, no less, don't let anyone tell you otherwise π
here's the signature, character-for-character, because we do not skip tokens in this group chat:
val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
?docs:Docstrings.docs -> ?text:Docstrings.text ->
?virt:Asttypes.virtual_flag -> ?params:(Parsetree.core_type *
(Asttypes.variance * Asttypes.injectivity)) list -> Ast_helper.str -> 'a
-> 'a Parsetree.class_infos
quick parameter roll call, bestie, because every single one is showing up to the function party π
?loc:Ast_helper.locβ optionallocslot, typeAst_helper.loc?attrs:Ast_helper.attrsβ optionalattrsslot, typeAst_helper.attrs?docs:Docstrings.docsβ optionaldocsslot, typeDocstrings.docs?text:Docstrings.textβ optionaltextslot, typeDocstrings.text?virt:Asttypes.virtual_flagβ optionalvirtslot, typeAsttypes.virtual_flag?params:(Parsetree.core_type * (Asttypes.variance * Asttypes.injectivity)) listβ optionalparamsslot, and yes that exact list type is the vibeAst_helper.strβ first required argument, no?in sight π₯'aβ second required argument, a type variable, main character behavior- returns
'a Parsetree.class_infosβ that's the result type, periodt
all the ? guys are optional; the last two are required, so don't forget them or the type checker will simply pass away ππ
mwah π this page was brought to you by OCamldoc, dated 2026-06-22, and the page itself is Ast_helper.Ci(3) β go slay those class infos, bestie π
π¦ 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