package base

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Result.ErrorSource

The same as S except the monad type has two arguments. The second is always just passed through.

Sourceval (>>=) : ('e, 'a) t -> ('a -> ('e, 'b) t) -> ('e, 'b) t
Sourceval (>>|) : ('e, 'a) t -> ('a -> 'b) -> ('e, 'b) t
Sourcemodule Let_syntax : sig ... end
Sourcemodule Monad_infix : sig ... end

Same as Infix, except the monad type has two arguments. The second is always just passed through.

Sourceval bind : ('e, 'a) t -> f:('a -> ('e, 'b) t) -> ('e, 'b) t
Sourceval return : 'a -> (_, 'a) t
Sourceval map : ('e, 'a) t -> f:('a -> 'b) -> ('e, 'b) t
Sourceval join : ('e, ('e, 'a) t) t -> ('e, 'a) t
Sourceval ignore_m : ('e, _) t -> ('e, unit) t
Sourceval all : ('e, 'a) t list -> ('e, 'a list) t
Sourceval all_unit : ('e, unit) t list -> ('e, unit) t
OCaml

Innovation. Community. Security.