package preface

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

The type held by the Monad.

val return : 'a -> 'a t

Create a new 'a t.

val compose_left_to_right : ('a -> 'b t) -> ('b -> 'c t) -> 'a -> 'c t

Composing monadic functions using Kleisli Arrow (from left to right).

include Preface_specs.Monad_plus.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.