Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Ocsigen_lib_base.Option

module Option : sig..end

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