Module

Data.These

Package
purescript-these
Repository
purescript-contrib/purescript-these

#These Source

data These a b

Constructors

Instances

#these Source

these :: forall c b a. (a -> c) -> (b -> c) -> (a -> b -> c) -> These a b -> c

#thisOrBoth Source

thisOrBoth :: forall b a. a -> Maybe b -> These a b

#thatOrBoth Source

thatOrBoth :: forall b a. b -> Maybe a -> These a b

#fromThese Source

fromThese :: forall b a. a -> b -> These a b -> Tuple a b

#theseLeft Source

theseLeft :: forall b a. These a b -> Maybe a

#theseRight Source

theseRight :: forall b a. These a b -> Maybe b
Modules
Data.These