package stdcompat

  1. Overview
  2. Docs
include module type of struct include Stdlib.Lazy end
type !'a t = 'a CamlinternalLazy.t
exception Undefined
val force : 'a t -> 'a
val force_val : 'a t -> 'a
val from_fun : (unit -> 'a) -> 'a t
val from_val : 'a -> 'a t
val is_val : 'a t -> bool
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.
val map : ('a -> 'b) -> 'a t -> 'b lazy_t
val map_val : ('a -> 'b) -> 'a t -> 'b t
OCaml

Innovation. Community. Security.