Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Pair (a, a) |
Instances
Functor Pair Source # | |
Applicative Pair Source # | |
Foldable Pair Source # | |
Defined in Containers.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 # | |
Eq a => Eq (Pair a) Source # | |
Ord a => Ord (Pair a) Source # | |
Sizable (Pair a) Source # | |
Eq a => Containable (Pair a) a Source # | |
Listable (Pair a) a Source # | |
Keyable (Pair a) Index Source # | |
Valuable (Pair a) a Source # | |
Indexable (Pair a) Index a Source # | |
Each (Pair a) (Pair b) a b Source # | |