package plebeia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = 'a option
val from_Some : 'a option -> 'a
val default : 'a -> 'a option -> 'a
val iter : ('a -> unit) -> 'a option -> unit
val iter_s : ('a -> unit Lwt.t) -> 'a option -> unit Lwt.t
include Monad.S1 with type 'a t := 'a option
val return : 'a -> 'a option
val bind : 'a option -> ('a -> 'b option) -> 'b option
val map : ('a -> 'b) -> 'a option -> 'b option
val mapM : ('a -> 'b option) -> 'a list -> 'b list option
val mapM_ : ('a -> unit option) -> 'a list -> unit option
val iterM : ('a -> unit option) -> 'a list -> unit option

alias of mapM_

val fold_leftM : ('a -> 'b -> 'a option) -> 'a -> 'b list -> 'a option
val parseM : ('a -> 'b list -> ('a * 'b list) option) -> 'a -> 'b list -> 'a option
module Infix : sig ... end
module Syntax : sig ... end
OCaml

Innovation. Community. Security.