package preface

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

Building a Preface_specs.Alt

Using the minimal definition

Using neutral and combine

Build a Preface_specs.ALT using Preface_specs.Alt.WITH_COMBINE_AND_MAP.

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

Over a Functor

Build a Preface_specs.ALT over a Preface_specs.FUNCTOR.

If you already have a Functor, you can enrich it by passing only the combine function.

Functor Algebra

Construction of Preface_specs.ALT by combining them.

Composition

Right-to-left composition of Alt with Preface_specs.FUNCTOR.

Product

Construct the product of two Preface_specs.ALT.

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

Manual construction

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

Grouping of all components

Building Core

Deriving Operation

Deriving Infix

OCaml

Innovation. Community. Security.