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