package stdcompat

  1. Overview
  2. Docs
type !'a t = 'a lazy_t
val from_fun : (unit -> 'a) -> 'a t
val from_val : 'a -> 'a t
val is_val : 'a t -> bool
val force : 'a t -> 'a
val force_val : 'a t -> 'a
val lazy_from_fun : (unit -> 'a) -> 'a t
  • deprecated Use Lazy.from_fun instead.
val lazy_from_val : 'a -> 'a t
  • deprecated Use Lazy.from_val instead.
val lazy_is_val : 'a t -> bool
  • deprecated Use Lazy.is_val instead.
OCaml

Innovation. Community. Security.