Expand description
This module hosts the AdjacentPairs type.
It can be used to list all the adjacent pairs of a list.
For example, if you have a list of integers [1, 2, 3],
you can use it to obtain the list of tuples [(1, 2), (2, 3)].
Structsยง
- Adjacent
Pairs - You can create a new
AdjacentPairsfrom an iterator using: