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
Traversablestructure and accumulate the results into anApplicativecontext. - traverse
- Map each element of the
Traversablestructure to a computation, evaluate those computations and combine the results into anApplicativecontext.