package sexplib

  1. Overview
  2. Docs
include module type of struct include Lazy end
type !'a t = 'a lazy_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 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
OCaml

Innovation. Community. Security.