package preface

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

Building a Preface_specs.Arrow_alt

Using the minimal definition

Using combine over an Arrow

Build an Preface_specs.ARROW_ALT using Preface_specs.Arrow_alt.WITH_COMBINE over an Preface_specs.ARROW.

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

module Over_arrow (Arrow : Preface_specs.ARROW) (Req : Preface_specs.Arrow_alt.WITH_COMBINE with type ('a, 'b) t = ('a, 'b) Arrow.t) : Preface_specs.ARROW_ALT with type ('a, 'b) t = ('a, 'b) Req.t

Using combine, arrow and fst over a Category

Build an Preface_specs.ARROW_ALT using Preface_specs.Arrow_alt.WITH_ARROW_AND_FST over a Preface_specs.CATEGORY.

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

Using combine, arrow and split over a Category

Build an Preface_specs.ARROW_ALT using Preface_specs.Arrow_alt.WITH_ARROW_AND_SPLIT over a Preface_specs.CATEGORY.

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

Arrow Alt Algebra

Construction of Preface_specs.ARROW_ALT by combining them.

Product

Construct the product of two Preface_specs.ARROW_ALT.

module Product (F : Preface_specs.ARROW_ALT) (G : Preface_specs.ARROW_ALT) : Preface_specs.ARROW_ALT with type ('a, 'b) t = ('a, 'b) F.t * ('a, 'b) G.t

From other abstraction

From an Arrow Plus

Produces an Preface_specs.ARROW_ALT from an Preface_specs.ARROW_PLUS.

From a Monad Plus

Produces an Preface_specs.ARROW_ALT from a Preface_specs.MONAD_PLUSD (using the Kleisli Arrow).

Manual construction

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

Grouping of all components

module Via (Core : Preface_specs.Arrow_alt.CORE) (Operation : Preface_specs.Arrow_alt.OPERATION with type ('a, 'b) t = ('a, 'b) Core.t) (Alias : Preface_specs.Arrow_alt.ALIAS with type ('a, 'b) t = ('a, 'b) Operation.t) (Infix : Preface_specs.Arrow_alt.INFIX with type ('a, 'b) t = ('a, 'b) Alias.t) : Preface_specs.ARROW_ALT with type ('a, 'b) t = ('a, 'b) Infix.t

Building Core

Deriving Operation

Deriving Alias

Deriving Infix

module Infix_over_category (Category : Preface_specs.CATEGORY) (Core : Preface_specs.Arrow_alt.CORE with type ('a, 'b) t = ('a, 'b) Category.t) (Operation : Preface_specs.Arrow_alt.OPERATION with type ('a, 'b) t = ('a, 'b) Core.t) : Preface_specs.Arrow_alt.INFIX with type ('a, 'b) t = ('a, 'b) Operation.t
OCaml

Innovation. Community. Security.