Module Sexplib.Std.Lazy

include Lazy
type 'a t = 'a lazy_t
exception Undefined
external force : 'a t ‑> 'a = "%lazy_force"
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 t_of_sexp : (Sexplib0.Sexp.t ‑> 'a) ‑> Sexplib0.Sexp.t ‑> 'a lazy_t
val sexp_of_t : ('a ‑> Sexplib0.Sexp.t) ‑> 'a lazy_t ‑> Sexplib0.Sexp.t