package preface

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

Building a Preface_specs.Reader, a Reader transformer.

Using the minimal definition

Build an Preface_specs.READER over an Inner Preface_specs.MONAD and given an environment.

Improving API

If there are complementary implementations to Preface_specs.MONAD attached to the Inner Preface_specs.MONAD type, it is possible to promote the Preface_specs.READER API with these complementary implementations

Functor

If the Inner Preface_specs.MONAD is also a Preface_specs.FUNCTOR, the Reader monad is also a Preface_specs.FUNCTOR.

Applicative

If the Inner Preface_specs.MONAD is also an Preface_specs.APPLICATIVE, the Reader monad is also an Preface_specs.APPLICATIVE.

Alternative

If the Inner Preface_specs.MONAD is also an Preface_specs.ALTERNATIVE, the Reader monad is also an Preface_specs.ALTERNATIVE.

Monad

If the Inner Preface_specs.MONAD is also a Preface_specs.MONAD, the Reader monad is also a Preface_specs.MONAD (this is this functor which is used in the full API definition).

Monad Plus

If the Inner Preface_specs.MONAD is also a Preface_specs.MONAD_PLUS, the Reader monad is also a Preface_specs.MONAD_PLUS.

Manual construction

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

Building Core

OCaml

Innovation. Community. Security.