Printast(3)

πŸ’… Printast(3) πŸ’…

okay so bestie, this is the manual page for Printast, a module that lives in the OCaml library. It's the raw printer for Parsetree, and we're gonna go through every val like it's a group chat screenshot. ✨

🌸 NAME 🌸

Printast - Raw printer for Parsetree. Periodt. πŸ’–

πŸ“¦ Module πŸ“¦

Module Printast

that's it, that's the module line, iconic. πŸŽ€

✨ Documentation ✨

Module Printast
 : sig end

Raw printer for Parsetree β€” literally the whole point. πŸ¦‹

⚠️ Warning: this module is unstable and part of Compiler_libs. Not me warning you before you get attached β€” it's giving "use with caution, bestie." πŸ’€

Here are all the vals, exact signatures and all, no skipping:

  • val interface : Format.formatter -> Parsetree.signature_item list -> unit β€” the interface val. 🫢
  • val implementation : Format.formatter -> Parsetree.structure_item list -> unit β€” the implementation val. πŸ‘‘
  • val top_phrase : Format.formatter -> Parsetree.toplevel_phrase -> unit β€” the top_phrase val. ⭐
  • val pattern : int -> Format.formatter -> Parsetree.pattern -> unit β€” the pattern val. 🌸
  • val expression : int -> Format.formatter -> Parsetree.expression -> unit β€” the expression val. πŸ’œ
  • val structure : int -> Format.formatter -> Parsetree.structure -> unit β€” the structure val. 🌈
  • val payload : int -> Format.formatter -> Parsetree.payload -> unit β€” the payload val. πŸ“

okay that's the whole page, bestie. no cap, every val made it. πŸ’…

Signed off by OCamldoc, version/date 2026-06-22, on page Printast(3) β€” bye! πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from