Ast_helper.Const(3)

๐Ÿ’– NAME

Ast_helper.Const - no description

Okay bestie, the NAME section is literally giving mystery: this is the Ast_helper.Const(3) page from the OCaml library manual, and the description is justโ€ฆ not there. No cap. ๐Ÿซถ

๐ŸŽ€ Module

Module Ast_helper.Const

โœจ Documentation

๐Ÿ“ฆ Module Const

Module Const
 : sig end

This module is a sig end situation, and then the vals arrive. Exact signatures below, copied with love and zero edits ๐Ÿ’…:

๐ŸŒธ val mk

val mk : ?loc:Ast_helper.loc -> Parsetree.constant_desc -> Parsetree.constant

๐Ÿš val char

val char : ?loc:Ast_helper.loc -> char -> Parsetree.constant

๐Ÿ“ val string

val string : ?quotation_delimiter:string -> ?loc:Location.t -> string -> Parsetree.constant
Side note bestie: string has ?loc:Location.t, while the other ones say ?loc:Ast_helper.loc. Keep that exactly as written โ€” no โ€œfixingโ€ it, iykyk ๐Ÿ‘€

๐Ÿ”ข val integer

val integer : ?loc:Ast_helper.loc -> ?suffix:char -> string -> Parsetree.constant

๐Ÿ”Ÿ val int

val int : ?loc:Ast_helper.loc -> ?suffix:char -> int -> Parsetree.constant

๐Ÿงฎ val int32

val int32 : ?loc:Ast_helper.loc -> ?suffix:char -> int32 -> Parsetree.constant

๐ŸงŠ val int64

val int64 : ?loc:Ast_helper.loc -> ?suffix:char -> int64 -> Parsetree.constant

๐Ÿงš val nativeint

val nativeint : ?loc:Ast_helper.loc -> ?suffix:char -> nativeint -> Parsetree.constant

๐ŸŒˆ val float

val float : ?loc:Ast_helper.loc -> ?suffix:char -> string -> Parsetree.constant

Thatโ€™s the whole page, bestie. Served to you by OCamldoc, dated 2026-06-22, for Ast_helper.Const(3). 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