package preface

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'index) t

The type held by the Indexed Applicative.

include Preface_specs.Indexed_applicative.WITH_PURE with type ('a, 'index) t := ('a, 'index) t
val pure : 'a -> ('a, 'index) t

Lift a value from 'a into a new t.

include Preface_specs.Indexed_apply.WITH_APPLY with type ('a, 'index) t := ('a, 'index) t
val apply : ('a -> 'b, 'index) t -> ('a, 'index) t -> ('b, 'index) t

May apply a function wrapped into an t to a value also wrapped into an t.

OCaml

Innovation. Community. Security.