package preface

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t

The type held by the Comonad.

val extract : 'a t -> 'a

Extract a 'a from 'a t. Dual of return.

val duplicate : 'a t -> 'a t t

Dual of join.

val map : ('a -> 'b) -> 'a t -> 'b t

Mapping over from 'a to 'b over 'a t to 'b t.

OCaml

Innovation. Community. Security.