| License | BSD-style |
|---|---|
| Maintainer | Nicolas Di Prima <nicolas@primetype.co.uk> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Basement.These
Description
These a b, sum type to represent either a or b or both.
Documentation
Either a or b or both.
Instances
| Bifunctor These Source # | |
| Functor (These a) Source # | |
| (Eq a, Eq b) => Eq (These a b) Source # | |
| (Ord a, Ord b) => Ord (These a b) Source # | |
| (Show a, Show b) => Show (These a b) Source # | |
| (NormalForm a, NormalForm b) => NormalForm (These a b) Source # | |
Defined in Basement.These Methods toNormalForm :: These a b -> () Source # | |
| From (Either a b) (These a b) Source # | |