Safe Haskell | None |
---|---|
Language | Haskell2010 |
- module Data.Strict.Tuple
- toLazyTuple :: (a :!: b) -> (a, b)
- fromLazyTuple :: (a, b) -> a :!: b
- fst' :: Pair a b -> a
- snd' :: Pair a b -> b
- uncurry' :: (a -> b -> c) -> Pair a b -> c
- first :: (a -> b) -> (a :!: c) -> b :!: c
- second :: (b -> c) -> (a :!: b) -> a :!: c
- swap :: (a, b) -> (b, a)
- swap' :: (a :!: b) -> b :!: a
- fst3 :: (a, b, c) -> a
- snd3 :: (a, b, c) -> b
- thr3 :: (a, b, c) -> c
- fst3' :: ((a :!: b) :!: c) -> a
- snd3' :: ((a :!: b) :!: c) -> b
- thr3' :: ((a :!: b) :!: c) -> c
Documentation
module Data.Strict.Tuple
toLazyTuple :: (a :!: b) -> (a, b) Source #
fromLazyTuple :: (a, b) -> a :!: b Source #
Orphan instances
(Data a, Data b) => Data (Pair a b) Source # | |
(Monoid a, Monoid b) => Monoid (Pair a b) Source # | |
(Arbitrary a, Arbitrary b) => Arbitrary (Pair a b) Source # | |
(Hashable a, Hashable b) => Hashable (Pair a b) Source # | |
(ToJSON a, ToJSON b) => ToJSON (Pair a b) Source # | |
(FromJSON a, FromJSON b) => FromJSON (Pair a b) Source # | |
(NFData a, NFData b) => NFData (Pair a b) Source # | |