package base

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

Module Monad.Make3Source

The same as S except the monad type has three arguments. The second and third are always just passed through.

Parameters

module X : Basic3

Signature

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

Same as Infix, except the monad type has three arguments. The second and third are always just passed through.

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

Innovation. Community. Security.