package preface

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Preface_specs.Applicative.WITH_PURE_AND_APPLY
type 'a t

The type held by the Applicative.

include Preface_specs.Applicative.WITH_PURE with type 'a t := 'a t
val pure : 'a -> 'a t

Lift a value from 'a into a new 'a t.

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

Applicative functor of ('a -> 'b) t over 'a t to 'b t.

include Preface_specs.Alternative.WITH_NEUTRAL_AND_COMBINE with type 'a t := 'a t
val combine : 'a t -> 'a t -> 'a t

Combine two values of 'a t into one.

val neutral : 'a t

The neutral element of the Alternative.

OCaml

Innovation. Community. Security.