Module
Data.These
- Package
- purescript-these
- Repository
- purescript-contrib/purescript-these
#These Source
data These a b
Constructors
Instances
(Eq a, Eq b) => Eq (These a b)
(Ord a, Ord b) => Ord (These a b)
(Semigroup a, Semigroup b) => Semigroup (These a b)
Functor (These a)
Invariant (These a)
Foldable (These a)
Traversable (These a)
Bifunctor These
Bifoldable These
Bitraversable These
(Semigroup a) => Apply (These a)
(Semigroup a) => Applicative (These a)
(Semigroup a) => Bind (These a)
(Semigroup a) => Monad (These a)
Extend (These a)
(Show a, Show b) => Show (These a b)
#thisOrBoth Source
thisOrBoth :: forall b a. a -> Maybe b -> These a b
#thatOrBoth Source
thatOrBoth :: forall b a. b -> Maybe a -> These a b
#theseRight Source
theseRight :: forall b a. These a b -> Maybe b
- Modules
- Data.
These