package ocsigenserver

  1. Overview
  2. Docs

Module Option to compute type 'a option

type 'a t = 'a option
val map : ('a -> 'b) -> 'a t -> 'b t
val get : (unit -> 'a) -> 'a t -> 'a
val get' : 'a -> 'a t -> 'a
val iter : ('a -> unit) -> 'a t -> unit
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val to_list : 'a t -> 'a list
module Lwt : sig ... end
OCaml

Innovation. Community. Security.