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