Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Instances
BifunctorFunctor (Sum p :: (k1 -> k2 -> Type) -> k1 -> k2 -> Type) # | |
BifunctorMonad (Sum p :: (k1 -> k2 -> Type) -> k1 -> k2 -> Type) # | |
Generic1 (Sum p q a :: k1 -> Type) # | |
(Bitraversable p, Bitraversable q) => Bitraversable (Sum p q) # | |
Defined in Data.Bifunctor.Sum bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> Sum p q a b -> f (Sum p q c d) # | |
(Bifoldable p, Bifoldable q) => Bifoldable (Sum p q) # | |
(Bifunctor p, Bifunctor q) => Bifunctor (Sum p q) # | |
(Eq2 f, Eq2 g) => Eq2 (Sum f g) # | |
(Ord2 f, Ord2 g) => Ord2 (Sum f g) # | |
Defined in Data.Bifunctor.Sum | |
(Read2 f, Read2 g) => Read2 (Sum f g) # | |
Defined in Data.Bifunctor.Sum liftReadsPrec2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> Int -> ReadS (Sum f g a b) # liftReadList2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> ReadS [Sum f g a b] # liftReadPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec (Sum f g a b) # liftReadListPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec [Sum f g a b] # | |
(Show2 f, Show2 g) => Show2 (Sum f g) # | |
(Eq2 f, Eq2 g, Eq a) => Eq1 (Sum f g a) # | |
(Ord2 f, Ord2 g, Ord a) => Ord1 (Sum f g a) # | |
Defined in Data.Bifunctor.Sum | |
(Read2 f, Read2 g, Read a) => Read1 (Sum f g a) # | |
Defined in Data.Bifunctor.Sum liftReadsPrec :: (Int -> ReadS a0) -> ReadS [a0] -> Int -> ReadS (Sum f g a a0) # liftReadList :: (Int -> ReadS a0) -> ReadS [a0] -> ReadS [Sum f g a a0] # liftReadPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec (Sum f g a a0) # liftReadListPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec [Sum f g a a0] # | |
(Show2 f, Show2 g, Show a) => Show1 (Sum f g a) # | |
(Eq (p a b), Eq (q a b)) => Eq (Sum p q a b) # | |
(Ord (p a b), Ord (q a b)) => Ord (Sum p q a b) # | |
Defined in Data.Bifunctor.Sum | |
(Read (p a b), Read (q a b)) => Read (Sum p q a b) # | |
(Show (p a b), Show (q a b)) => Show (Sum p q a b) # | |
Generic (Sum p q a b) # | |
type Rep1 (Sum p q a :: k1 -> Type) # | |
Defined in Data.Bifunctor.Sum type Rep1 (Sum p q a :: k1 -> Type) = D1 ('MetaData "Sum" "Data.Bifunctor.Sum" "bifunctors-5.5.11" 'False) (C1 ('MetaCons "L2" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 (p a))) :+: C1 ('MetaCons "R2" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 (q a)))) | |
type Rep (Sum p q a b) # | |
Defined in Data.Bifunctor.Sum type Rep (Sum p q a b) = D1 ('MetaData "Sum" "Data.Bifunctor.Sum" "bifunctors-5.5.11" 'False) (C1 ('MetaCons "L2" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (p a b))) :+: C1 ('MetaCons "R2" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (q a b)))) |