Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Uncurry (d :: a -> b -> Exp c) (e :: (a, b)) (f :: c)
- data Fst (c :: (a, b)) (d :: a)
- data Snd (c :: (a, b)) (d :: b)
- data ((a :: b -> Exp c) *** (d :: b' -> Exp c')) (e :: (b, b')) (f :: (c, c'))
- data UnEither (d :: a -> Exp c) (e :: b -> Exp c) (f :: Either a b) (g :: c)
- data IsLeft (c :: Either a b) (d :: Bool)
- data IsRight (c :: Either a b) (d :: Bool)
- data UnMaybe (c :: Exp b) (d :: a -> Exp b) (e :: Maybe a) (f :: b)
- data FromMaybe (a :: k) (b :: Maybe k) (c :: k)
- data IsNothing (b :: Maybe a) (c :: Bool)
- data IsJust (b :: Maybe a) (c :: Bool)
Pairs
data ((a :: b -> Exp c) *** (d :: b' -> Exp c')) (e :: (b, b')) (f :: (c, c')) infixr 3 Source #
Specialization of Bimap
for pairs.
Either
data UnEither (d :: a -> Exp c) (e :: b -> Exp c) (f :: Either a b) (g :: c) Source #
Maybe
data UnMaybe (c :: Exp b) (d :: a -> Exp b) (e :: Maybe a) (f :: b) Source #