CamlinternalLazy(3)

πŸ¦‹ NAME πŸ¦‹

CamlinternalLazy β€” run-time support for lazy values. This is the CamlinternalLazy(3) page from the OCaml library manual, bestie. πŸ’…

πŸŽ€ Module πŸŽ€

Module CamlinternalLazy

Here's the module signature situation, literally:

Module CamlinternalLazy
 : sig end

✨ Documentation ✨

Okay so bestie, this is the CamlinternalLazy module, and it provides run-time support for lazy values. ✨

🚨 Real talk: all functions in this module are for system use only, not for the casual user. Like, this is not the casual-user shelf at the library, okay? It's system-use-only energy. πŸ‘‘

🌸 Types and exceptions 🌸

  • type 'a t = 'a lazy_t β€” yup, 'a t is literally an alias for 'a lazy_t. iconic, no cap.
  • exception Undefined β€” the exception is named Undefined, exactly like that. 🫢

πŸ’– Values πŸ’–

  • val force_lazy_block : 'a lazy_t -> 'a β€” here's the exact signature, bestie:
val force_lazy_block : 'a lazy_t -> 'a
  • val force_gen : only_val:bool -> 'a lazy_t -> 'a β€” exact signature, character for character:
val force_gen : only_val:bool -> 'a lazy_t -> 'a
  • val indirect : 'a lazy_t -> 'a lazy_t β€” and the last one, exact signature:
val indirect : 'a lazy_t -> 'a lazy_t

That's the whole page, fr fr. No extra options, no hidden flags, just those runtime-support functions for system use. 🫢


mwah πŸ’– huge kisses to the source/version and date: this cutie was brought to you by OCamldoc, dated 2026-06-22. πŸŽ€βœ¨

πŸ“¦ where this page comes from