Module Preface_make.Apply

Building a Preface_specs.APPLY

Using the minimal definition

Using map and apply

Build a Preface_specs.APPLY using Preface_specs.APPLY.WITH_MAP_AND_APPLY.

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

Using apply over functor

Build a Preface_specs.APPLY using Preface_specs.Functor.WITH_MAP and Preface_specs.Apply.WITH_APPLY.

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

Using map and product

Build a Preface_specs.APPLY using Preface_specs.Apply.WITH_MAP_AND_PRODUCT.

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

Using product over functor

Build a Preface_specs.APPLY using Preface_specs.Functor.WITH_MAP and Preface_specs.Apply.WITH_PRODUCT.

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

Using map and lift2

Build a Preface_specs.APPLY using Preface_specs.Apply.WITH_LIFT2.

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

Using lift2 over functor

Build a Preface_specs.APPLY using Preface_specs.Functor.WITH_MAP and Preface_specs.Apply.WITH_LIFT2.

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

APPLY Algebra

Construction of Preface_specs.APPLY by combining them.

Composition

Right-to-left composition of Preface_specs.APPLY.

Product

Construct the product of two Preface_specs.APPLY.

From other abstraction

From a Monad

Produces a Preface_specs.APPLY from a Preface_specs.MONAD.

From a Monad

Produces a Preface_specs.APPLY from a Preface_specs.MONAD.

From an Applicative

Produces a Preface_specs.APPLY from a Preface_specs.MONAD.

From an Alternative

Produces a Preface_specs.APPLY from an Preface_specs.ALTERNATIVE.

From an Arrow

Produces a Preface_specs.APPLY from an Preface_specs.ARROW.

module From_arrow (A : Preface_specs.ARROW) : Preface_specs.APPLY with type 'a t = (unit, 'a) A.t

From a Monoid

Produces a Preface_specs.APPLY from a Preface_specs.MONOID. This APPLY is called Const or a phantom monoid.

module Const (M : Preface_specs.Monoid.CORE) : sig ... end

To other abstraction

To an Indexed Apply

module Index (F : Preface_specs.APPLY) : Preface_specs.INDEXED_APPLY with type ('a, 'index) t = 'a F.t

Manual construction

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

Grouping of all components

Building Core

Deriving Operation

Deriving Syntax

Deriving Infix