Module Preface_make.Comonad

Building a Preface_specs.Comonad

Using the minimal definition

Using extract and extend

Build a Preface_specs.COMONAD using Preface_specs.Comonad.WITH_EXTEND.

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

Using extract, map and duplicate

Build a Preface_specs.COMONAD using Preface_specs.Comonad.WITH_MAP_AND_DUPLICATE.

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

Using extract and the cokleisli composition

Build a Preface_specs.COMONAD using Preface_specs.Comonad.WITH_COKLEISLI_COMPOSITION.

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

To other abstraction

To an Indexed Comonad

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

Manual construction

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

Grouping of all components

Building Core

Deriving Operation

Deriving Syntax

Deriving Infix