package preface

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

The natural transformation for Free Applicative to Applicative.

type 'a t

The type held by the Free applicative.

type 'a f

The type held by the Preface_specs.Functor.

type 'a applicative

The type held by the Applicative.

type natural_transformation = {
  1. transform : 'a. 'a f -> 'a applicative;
}
val run : natural_transformation -> 'a t -> 'a applicative

Run the natural transformation over the Free applicative.