Numbers.Int8(3)
β¨ Numbers.Int8(3) β¨
okay so real talk, this is a page straight out of the OCaml library manual, and it is literally the most minimal queen in the whole doc set. no cap, there's barely anything here β but we're gonna make it cute anyway. π
π NAME π
Numbers.Int8 β no description
yep. that's it. the manpage said "no description" and honestly? she said what she said. π«Ά
πΈ Module πΈ
the module in question is, drumroll pleaseβ¦ Module Numbers.Int8 β¨
π¦ Documentation π¦
okay bestie, here's the whole squad, and it is tiny:
Module Int8
: sig end
that's the signature, living its best sig end life. iconic. π
β the type β
type t
there's a type called t β an abstract little main character. that's the one everybody's gonna be passing around. π
π the values π
here's every single one, no skips, fr fr:
val zero : tβ the zero value, of typet. yes,zerois right there, pre-made, no assembly required. πval one : tβ andonetoo, also of typet. the dynamic duo, the moment, the vibe check passed. β¨val of_int_exn : int -> tβ takes anintand gives you back at. heads up though: the_exnin the name is your warning label β this one can raise an exception (iykyk,_exnnever lies). πval to_int : t -> intβ the reverse trip, going fromtback to a plainint. π¦
and that's the entire API. short, sweet, served. π
π a lil sign-off π
that's the whole page bestie, you ate it. this gem was generated by OCamldoc and the date on it is 2026-06-22 β so like, future energy, we love to see it. π« go forth and of_int_exn responsibly, 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