Copyright | (c) 2013 Tabula Inc. |
---|---|
Maintainer | conal@conal.net |
Stability | experimental |
Safe Haskell | Safe |
Language | Haskell98 |
Uniform pairs. Because these pairs memoize functions (from Bool)--i.e., they're representable functors--these instances provided are fully determined by the corresponding instances for functions, thanks to the type class morphism principle.
Documentation
Uniform pairs
a :# a infix 1 |
Monad Pair Source # | |
Functor Pair Source # | |
Applicative Pair Source # | |
Foldable Pair Source # | |
Traversable Pair Source # | |
Eq1 Pair Source # | |
Ord1 Pair Source # | |
Show1 Pair Source # | |
Eq1 Pair Source # | |
Ord1 Pair Source # | |
Show1 Pair Source # | |
Eq a => Eq (Pair a) Source # | |
Ord a => Ord (Pair a) Source # | |
Show a => Show (Pair a) Source # | |
Semigroup a => Semigroup (Pair a) Source # | |
Monoid a => Monoid (Pair a) Source # | |
NFData a => NFData (Pair a) Source # | |