Unit(3)
Unit(3) π
okay so this is the OCaml library manual page for Unit(3) β yes, the manual name is literally OCaml library, bestie. it's giving tiny module, huge main character energy. β¨
πΈ NAME
Unit β unit values. literally just unit values, and that's the whole vibe. π
π§ Module
Module Unit β that's the module, bestie. that's it. no cap. π«Ά
π Documentation
Module Unit
: sig end
Unit values. Since 4.08 β an iconic era, lowkey. π¦
π The unit type
type t = unit =
| ()
the unit type. the constructor () is included here so that it has a path, but it is not intended to be used in user-defined data types β so don't get cute with it in your own data types, bestie. π
val equal : t -> t -> boolβequal u1 u2istrue.val compare : t -> t -> intβcompare u1 u2is0.val to_string : t -> stringβto_string bis"()".
OMG and that's the whole page. this was generated by OCamldoc on 2026-06-22, for Unit(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