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 Comonad.

val extract : ('a, 'index) t -> 'a

Extract a 'a from t. Dual of return.

val extend : (('a, 'index) t -> 'b) -> ('a, 'index) t -> ('b, 'index) t

Dual of bind.

OCaml

Innovation. Community. Security.