Module Preface_make.Indexed_bind

Building a Preface_specs.Indexed_bind

Using the minimal definition

Using map and bind

Build a Preface_specs.Indexed_bind using Preface_specs.Indexed_Bind.WITH_RETURN_AND_BIND.

Standard method, using the minimal definition of an alt to derive its full API.

Using bind over functor

Build a Preface_specs.INDEXED_BIND using Preface_specs.Indexed_functor.WITH_MAP and Preface_specs.Indexed_bind.WITH_BIND.

Standard method, using the minimal definition of an alt to derive its full API.

module Over_functor_via_bind (Functor : Preface_specs.Indexed_functor.WITH_MAP) (Req : Preface_specs.Indexed_bind.WITH_BIND with type ('a, 'index) t = ('a, 'index) Functor.t) : Preface_specs.INDEXED_BIND with type ('a, 'index) t = ('a, 'index) Req.t

Using return, map and join

Build a Preface_specs.INDEXED_BIND using Preface_specs.Indexed_bind.WITH_RETURN_MAP_AND_JOIN.

Standard method, using the minimal definition of an alt to derive its full API.

Using return and the kleisli composition

Build a Preface_specs.INDEXED_BIND using rap contenders Preface_specs.Indexed_bind.WITH_RETURN_AND_KLEISLI_COMPOSITION.

Standard method, using the minimal definition of an alt to derive its full API.

Using kleisli composition over functor

Build a Preface_specs.INDEXED_BIND using Preface_specs.Indexed_functor.WITH_MAP and Preface_specs.Indexed_bind.WITH_KLEISLI_COMPOSITION.

Standard method, using the minimal definition of an alt to derive its full API.

Manual construction

Advanced way to build a Preface_specs.INDEXED_BIND, constructing and assembling a component-by-component of Preface_specs.INDEXED_BIND. (In order to provide your own implementation for some features.)

Grouping of all components

module Via (Core : Preface_specs.Indexed_bind.CORE) (Operation : Preface_specs.Indexed_bind.OPERATION with type ('a, 'index) t = ('a, 'index) Core.t) (Infix : Preface_specs.Indexed_bind.INFIX with type ('a, 'index) t = ('a, 'index) Core.t) (Syntax : Preface_specs.Indexed_bind.SYNTAX with type ('a, 'index) t = ('a, 'index) Core.t) : Preface_specs.INDEXED_BIND with type ('a, 'index) t = ('a, 'index) Core.t

Building Core

Deriving Operation

Deriving Syntax

module Syntax (Core : Preface_specs.Indexed_bind.CORE) : Preface_specs.Indexed_bind.SYNTAX with type ('a, 'index) t = ('a, 'index) Core.t

Deriving Infix

module Infix (Core : Preface_specs.Indexed_bind.CORE) (Operation : Preface_specs.Indexed_bind.OPERATION with type ('a, 'index) t = ('a, 'index) Core.t) : Preface_specs.Indexed_bind.INFIX with type ('a, 'index) t = ('a, 'index) Core.t