| Portability | GHC |
|---|---|
| Stability | experimental |
| Maintainer | Simon Meier <iridcode@gmail.com> |
| Safe Haskell | None |
Data.Tuple.Strict
Description
The strict variant of the standard Haskell pairs and the corresponding variants of the functions from Data.Tuple.
Documentation
data Pair a b
The type of strict pairs.
Constructors
| !a :!: !b |
Instances
| Typeable2 Pair | |
| Bitraversable Pair | |
| Bifunctor Pair | |
| Bifoldable Pair | |
| Swapped Pair | |
| (Bounded a, Bounded b) => Bounded (Pair a b) | |
| (Eq a, Eq b) => Eq (Pair a b) | |
| (Data a, Data b) => Data (Pair a b) | |
| (Ord a, Ord b) => Ord (Pair a b) | |
| (Read a, Read b) => Read (Pair a b) | |
| (Show a, Show b) => Show (Pair a b) | |
| (Ix a, Ix b) => Ix (Pair a b) | |
| Generic (Pair a b) | |
| (Arbitrary a, Arbitrary b) => Arbitrary (Pair a b) | |
| (ToJSON a, ToJSON b) => ToJSON (Pair a b) | |
| (FromJSON a, FromJSON b) => FromJSON (Pair a b) | |
| (Monoid a, Monoid b) => Monoid (Pair a b) | |
| (Binary a, Binary b) => Binary (Pair a b) | |
| (NFData a, NFData b) => NFData (Pair a b) | |
| Strict (a, b) (Pair a b) | |
| (~ * a a', ~ * b b') => Each (Pair a a') (Pair b b') a b | |
| Field1 (Pair a b) (Pair a' b) a a' | |
| Field2 (Pair a b) (Pair a b') b b' |