Ast_helper.Rf(3)
π¦ Ast_helper.Rf(3) π¦
okay bestie, this little page lives in the OCaml library and it's all about row fields β no cap, that's the whole vibe. it's giving very specific OCaml helper module energy, and we're gonna read every single signature together π
πΈ NAME πΈ
Ast_helper.Rf β Row fields β¨
π§ Module π§
Module Ast_helper.Rf
β¨ Documentation β¨
π Module Rf π
Module Rf
: sig end
Row fields, bestie. That's the headline. Now the actual vals, with every parameter preserved because we do not ghost details around here π«Ά
π
mk
val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
Parsetree.row_field_desc -> Parsetree.row_field
mk takes an optional ?loc:Ast_helper.loc, an optional ?attrs:Ast_helper.attrs, and a Parsetree.row_field_desc, then gives you back a Parsetree.row_field. Slay β¨
π tag
val tag : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs ->
Asttypes.label Ast_helper.with_loc -> bool -> Parsetree.core_type list
-> Parsetree.row_field
tag is the one with the longer guest list: optional ?loc:Ast_helper.loc, optional ?attrs:Ast_helper.attrs, an Asttypes.label Ast_helper.with_loc, a bool, and a Parsetree.core_type list. Then it returns a Parsetree.row_field. iconic parameter lineup, honestly π
π¦ inherit_
val inherit_ : ?loc:Ast_helper.loc -> Parsetree.core_type ->
Parsetree.row_field
inherit_ keeps it cute and focused: optional ?loc:Ast_helper.loc, one Parsetree.core_type, and you get a Parsetree.row_field back. periodt π
okay that's the whole page, bestie π«Ά this one is brought to you by OCamldoc, dated 2026-06-22 β mwah πβ¨
π¦ 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