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