Camlinternal...nearizedArray(3)

πŸ’– Camlinternal...nearizedArray(3) πŸ’–

okay so bestie, welcome to the OCaml library manual page for CamlinternalMenhirLib.LinearizedArray. it's giving tiny module, main-character energy, and the docs are literally signatures β€” but we keep every single one, no cap. πŸ’…βœ¨


πŸŽ€ NAME πŸŽ€

CamlinternalMenhirLib.LinearizedArray β€” no description (not the page showing up with no description and still being iconic 😭)

🧩 Module 🧩

Module CamlinternalMenhirLib.LinearizedArray

✨ Documentation ✨

the module shape is exactly this, bestie:

Module LinearizedArray
 : sig end

and here are the type + values, all of them, no skipping the boring parts (there are no boring parts, periodt):

type 'a t = 'a array * int array

val make : 'a array array -> 'a t

val read : 'a t -> int -> int -> 'a

val write : 'a t -> int -> int -> 'a -> unit

val length : 'a t -> int

val row_length : 'a t -> int -> int

val read_row : 'a t -> int -> 'a list

val row_length_via : (int -> int) -> int -> int

val read_via : (int -> 'a) -> (int -> int) -> int -> int -> 'a

val read_row_via : (int -> 'a) -> (int -> int) -> int -> 'a list

lowkey the original only gives signatures here, so I’m not inventing behavior β€” that would be fake tea 🍡. every name and type above is verbatim.


mwah πŸ’‹ this page was brought to you by OCamldoc, dated 2026-06-22, and filed under Camlinternal...nearizedArray(3). bye bestie, go slay some OCaml 🫢🌈

πŸ“¦ where this page comes from