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