Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
Instances
Applicative Pair Source # | |
Functor Pair Source # | |
Foldable Pair Source # | |
Defined in GHC.Data.Pair fold :: Monoid m => Pair m -> m # foldMap :: Monoid m => (a -> m) -> Pair a -> m # foldMap' :: Monoid m => (a -> m) -> Pair a -> m # foldr :: (a -> b -> b) -> b -> Pair a -> b # foldr' :: (a -> b -> b) -> b -> Pair a -> b # foldl :: (b -> a -> b) -> b -> Pair a -> b # foldl' :: (b -> a -> b) -> b -> Pair a -> b # foldr1 :: (a -> a -> a) -> Pair a -> a # foldl1 :: (a -> a -> a) -> Pair a -> a # elem :: Eq a => a -> Pair a -> Bool # maximum :: Ord a => Pair a -> a # | |
Traversable Pair Source # | |
Outputable a => Outputable (Pair a) Source # | |
(Semigroup a, Monoid a) => Monoid (Pair a) Source # | |
Semigroup a => Semigroup (Pair a) Source # | |
unzipPairs :: [Pair a] -> ([a], [a]) Source #