Ast_helper.Cstr(3)
Welcome bestie to the Ast_helper.Cstr(3) page from the OCaml library manual π This one is short and iconic β weβre talking Class structures, no cap.
β¨ NAME β¨
Ast_helper.Cstr β Class structures π
π§ MODULE π§
Module: Ast_helper.Cstr
π DOCUMENTATION π
Okay so the module line is exactly Module Cstr : sig end π¦ β yes, thatβs the whole signature, and itβs literally giving minimal queen energy.
Itβs also tagged with Class structures β¨ β thatβs the vibe.
And hereβs the one value, bestie:
val mk : Parsetree.pattern -> Parsetree.class_field list ->
Parsetree.class_structure
mk takes a Parsetree.pattern and a Parsetree.class_field list and returns a Parsetree.class_structure β periodt. π
Source/version tea: this page comes from OCamldoc, dated 2026-06-22 π«Ά Slay, bye! π
π¦ 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