Module Ocsigen_lib
This module contains some auxiliaries for the Ocsigenserver. In contrast to Ocsigen_lib_base, the function may also refer to libraries other than the standard library.
include module type of Ocsigen_lib_base
with type poly = Ocsigen_lib_base.poly
and type yesnomaybe = Ocsigen_lib_base.yesnomaybe
and type ('a, 'b) leftright = ('a, 'b) Ocsigen_lib_base.leftright
and type 'a Clist.t = 'a Ocsigen_lib_base.Clist.t
and type 'a Clist.node = 'a Ocsigen_lib_base.Clist.node
exception Ocsigen_Internal_Error of stringexception Input_is_too_largeexception Ocsigen_Bad_Requestexception Ocsigen_Request_too_longinclude module type of Lwt.Infix
val (>>=) : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.tval (>|=) : 'a Lwt.t -> ('a -> 'b) -> 'b Lwt.tval (<&>) : unit Lwt.t -> unit Lwt.t -> unit Lwt.tval (<?>) : 'a Lwt.t -> 'a Lwt.t -> 'a Lwt.tval (=<<) : ('a -> 'b Lwt.t) -> 'a Lwt.t -> 'b Lwt.tval (=|<) : ('a -> 'b) -> 'a Lwt.t -> 'b Lwt.tmodule Let_syntax : sig ... endval (!!) : 'a Stdlib.Lazy.t -> 'aval (|>) : 'a -> ('a -> 'b) -> 'bval (@@) : ('a -> 'b) -> 'a -> 'bval id : 'a -> 'aval comp : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'bval curry : (('a * 'b) -> 'c) -> 'a -> 'b -> 'cval uncurry : ('a -> 'b -> 'c) -> ('a * 'b) -> 'cmodule Tuple3 : sig ... endtype poly = Ocsigen_lib_base.polyval to_poly : 'a -> polyval from_poly : poly -> 'atype yesnomaybe = Ocsigen_lib_base.yesnomaybe = | Yes| No| Maybe
type ('a, 'b) leftright = ('a, 'b) Ocsigen_lib_base.leftright = | Left of 'a| Right of 'b
val advert : stringmodule Option : sig ... endModule Option to compute type 'a option
module List : sig ... endImprovement of module List
module Clist : sig ... endCircular lists
module Int : sig ... endmodule String_base : sig ... endImprovement of module String
module Url_base : sig ... endval debug : string -> unitval make_cryptographic_safe_string : unit -> stringGenerate an unique and cryptographically safe random string. It is impossible to guess for other people and will never return twice the same value (with very good probabilities).
module String : module type of String_baseImprovement of module String
module Ip_address : sig ... endmodule Filename : sig ... endmodule Url : sig ... end