Module traversable

Module traversable 

Source
Expand description

Traversable type class.

This module defines the Traversable trait, which represents data structures that can be traversed, accumulating results in an applicative context.

Traits§

Traversable
A type class for traversable functors.

Functions§

sequence
Evaluate each computation in a Traversable structure and accumulate the results into an Applicative context.
traverse
Map each element of the Traversable structure to a computation, evaluate those computations and combine the results into an Applicative context.