package GT

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b, 'c) t' = ('a, 'b, 'c) t
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.
class virtual ['ia, 'a, 'sa, 'inh, 'self, 'syn] t_t : object ... end
val gcata_t : < t_t : 'a -> 'b -> 'c.. > -> 'a -> 'b -> 'c
val gcata_lazy : < t_t : 'a -> 'b -> 'c.. > -> 'a -> 'b -> 'c
class [+'b, +'c] show_t_t : (unit -> 'a -> string) -> 'd -> object ... end
class [+'b, +'c] html_t_t : (unit -> 'a -> HTML.viewer) -> 'd -> object ... end
class [+'b, +'c, +'d, +'e] gmap_t_t : (unit -> 'a -> 'sa) -> 'f -> object ... end
class [+'b, +'c, +'d, +'e, +'f] eval_t_t : ('env -> 'a -> 'sa) -> 'g -> object ... end
class [+'b, +'c, +'d, +'e, +'f] stateful_t_t : ('env -> 'a -> 'env * 'sa) -> 'g -> object ... end
class [+'b, +'c, +'d] foldl_t_t : ('syn -> 'a -> 'syn) -> 'e -> object ... end
class [+'b, +'c, +'d] foldr_t_t : 'e -> ('syn -> 'a -> 'syn) -> object ... end
class [+'b, +'c] eq_t_t : ('a -> 'a -> bool) -> 'd -> object ... end
class [+'b, +'c] compare_t_t : ('a -> 'a -> comparison) -> 'd -> object ... end
val t : (['ia, 'a, 'sa, 'inh, 'd, 'syn] t_t -> 'inh -> 'a t -> 'syn, < compare : ('a -> 'a -> comparison) -> 'a t -> 'a t -> comparison ; eq : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool ; eval : ('env -> 'a -> 'b) -> 'env -> 'a t -> 'b t ; foldl : ('c -> 'a -> 'c) -> 'c -> 'a t -> 'c ; foldr : ('c -> 'a -> 'c) -> 'c -> 'a t -> 'c ; gmap : ('a -> 'b) -> 'a t -> 'b t ; html : ('a -> HTML.viewer) -> 'a t -> HTML.viewer ; show : ('a -> string) -> 'a t -> string ; stateful : ('env -> 'a -> 'env * 'b) -> 'env -> 'a t -> 'env * 'b t >, (('e -> 'f -> 'g) -> < t_t : 'e -> 'f -> 'g.. >) -> 'e -> 'f -> 'g) t'
OCaml

Innovation. Community. Security.