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