Module
Data.Pair
- Package
- purescript-pairs
- Repository
- sharkdp/purescript-pairs
This module defines a datatype Pair
together with a few useful instances
and helper functions. Note that this is not just Tuple a a
but rather a
list with exactly two elements. Specifically, the Functor
instance maps
over both values (in contrast to the Functor
instance for Tuple a
).
#Pair Source
- Modules
- Data.
Pair