Module type Free_applicative.TO_APPLICATIVE

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.