package accessor

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

Module Nonempty.AccessedSource

The same as S except the monad type has three arguments. The second and third are composed across all computation.

Sourceval (>>=) : ('i, 'a, 'j) t -> ('a -> ('j, 'b, 'k) t) -> ('i, 'b, 'k) t
Sourceval (>>|) : ('i, 'a, 'j) t -> ('a -> 'b) -> ('i, 'b, 'j) 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 composed across all computation.

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

Innovation. Community. Security.