Attr_helper(3)
π NAME π
Hey bestie, welcome to Attr_helper(3) from the OCaml library πΈ This page is all about the Attr_helper module, and its whole personality is Helpers for attributes β¨
π§© Module π§©
Module Attr_helper
π Documentation π
Module Attr_helper β and the signature line is literally : sig end π«Ά
It's giving Helpers for attributes, but first, the big warning:
Warning: this module is unstable and part of Compiler_libs. π¨ No cap, keep that in mind before you go building your whole life on it.
π type error π
type error =
| Multiple_attributes of string
| No_payload_expected of string
β¨ get_no_payload_attribute β¨
val get_no_payload_attribute : string -> Parsetree.attributes -> string Asttypes.loc option
The string argument of the following functions is the name of the attribute we are looking for. If the argument is "foo", these functions will find attributes with the name "foo" or "ocaml.foo" π
π has_no_payload_attribute π
val has_no_payload_attribute : string -> Parsetree.attributes -> bool
π exception Error π
exception Error of Location.t * error
π©· report_error π©·
val report_error : error Format_doc.format_printer
π¦ report_error_doc π¦
val report_error_doc : error Format_doc.printer
That's the whole page, bestie β no cap, nothing skipped. This was Attr_helper(3) from the OCaml library, generated by OCamldoc, dated 2026-06-22 π
π Bye and slay your attributes β¨
π¦ 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