package preface

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

Parameters

Signature

Types

type 'a t = 'a M.t

The type held by the Traversable.

type 'a iter = 'a t

The iterable type held by the Traversable.

Functions

val traverse : ('a -> 'b t) -> 'a iter -> 'b iter t

Map each element of a structure to an action, evaluate these actions from left to right, and collect the results. *

val sequence : 'a t iter -> 'a iter t

Evaluate each action in the structure from left to right, and collect the results