package sexplib

  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 map : ('a -> 'b) -> 'a t -> 'b t
val is_val : 'a t -> bool
val from_val : 'a -> 'a t
val map_val : ('a -> 'b) -> 'a t -> 'b t
val from_fun : (unit -> 'a) -> 'a t
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.
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
val t_sexp_grammar : 'a Sexplib0__.Sexp_grammar.t -> 'a lazy_t Sexplib0__.Sexp_grammar.t
OCaml

Innovation. Community. Security.