Copyright | (C) 2008-2016 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Documentation
newtype Biff p f g a b Source #
Instances
Functor (p (f a)) => Generic1 (Biff p f g a :: k3 -> Type) Source # | |
(f ~ g, Functor f, Swap p) => Swap (Biff p f g) Source # | Since: 5.6.1 |
Defined in Data.Bifunctor.Biff | |
(Bifoldable p, Foldable f, Foldable g) => Bifoldable (Biff p f g) Source # | |
(Bifunctor p, Functor f, Functor g) => Bifunctor (Biff p f g) Source # | |
(Bitraversable p, Traversable f, Traversable g) => Bitraversable (Biff p f g) Source # | |
Defined in Data.Bifunctor.Biff bitraverse :: Applicative f0 => (a -> f0 c) -> (b -> f0 d) -> Biff p f g a b -> f0 (Biff p f g c d) # | |
(Eq2 p, Eq1 f, Eq1 g) => Eq2 (Biff p f g) Source # | |
(Ord2 p, Ord1 f, Ord1 g) => Ord2 (Biff p f g) Source # | |
Defined in Data.Bifunctor.Biff | |
(Read2 p, Read1 f, Read1 g) => Read2 (Biff p f g) Source # | |
Defined in Data.Bifunctor.Biff liftReadsPrec2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> Int -> ReadS (Biff p f g a b) # liftReadList2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> ReadS [Biff p f g a b] # liftReadPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec (Biff p f g a b) # liftReadListPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec [Biff p f g a b] # | |
(Show2 p, Show1 f, Show1 g) => Show2 (Biff p f g) Source # | |
(Biapplicative p, Applicative f, Applicative g) => Biapplicative (Biff p f g) Source # | |
Defined in Data.Bifunctor.Biff bipure :: a -> b -> Biff p f g a b Source # (<<*>>) :: Biff p f g (a -> b) (c -> d) -> Biff p f g a c -> Biff p f g b d Source # biliftA2 :: (a -> b -> c) -> (d -> e -> f0) -> Biff p f g a d -> Biff p f g b e -> Biff p f g c f0 Source # (*>>) :: Biff p f g a b -> Biff p f g c d -> Biff p f g c d Source # (<<*) :: Biff p f g a b -> Biff p f g c d -> Biff p f g a b Source # | |
(Bifoldable1 p, Foldable1 f, Foldable1 g) => Bifoldable1 (Biff p f g) Source # | |
Defined in Data.Bifunctor.Biff | |
(Bifoldable p, Foldable g) => Foldable (Biff p f g a) Source # | |
Defined in Data.Bifunctor.Biff fold :: Monoid m => Biff p f g a m -> m # foldMap :: Monoid m => (a0 -> m) -> Biff p f g a a0 -> m # foldMap' :: Monoid m => (a0 -> m) -> Biff p f g a a0 -> m # foldr :: (a0 -> b -> b) -> b -> Biff p f g a a0 -> b # foldr' :: (a0 -> b -> b) -> b -> Biff p f g a a0 -> b # foldl :: (b -> a0 -> b) -> b -> Biff p f g a a0 -> b # foldl' :: (b -> a0 -> b) -> b -> Biff p f g a a0 -> b # foldr1 :: (a0 -> a0 -> a0) -> Biff p f g a a0 -> a0 # foldl1 :: (a0 -> a0 -> a0) -> Biff p f g a a0 -> a0 # toList :: Biff p f g a a0 -> [a0] # null :: Biff p f g a a0 -> Bool # length :: Biff p f g a a0 -> Int # elem :: Eq a0 => a0 -> Biff p f g a a0 -> Bool # maximum :: Ord a0 => Biff p f g a a0 -> a0 # minimum :: Ord a0 => Biff p f g a a0 -> a0 # | |
(Eq2 p, Eq1 f, Eq1 g, Eq a) => Eq1 (Biff p f g a) Source # | |
(Ord2 p, Ord1 f, Ord1 g, Ord a) => Ord1 (Biff p f g a) Source # | |
Defined in Data.Bifunctor.Biff | |
(Read2 p, Read1 f, Read1 g, Read a) => Read1 (Biff p f g a) Source # | |
Defined in Data.Bifunctor.Biff liftReadsPrec :: (Int -> ReadS a0) -> ReadS [a0] -> Int -> ReadS (Biff p f g a a0) # liftReadList :: (Int -> ReadS a0) -> ReadS [a0] -> ReadS [Biff p f g a a0] # liftReadPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec (Biff p f g a a0) # liftReadListPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec [Biff p f g a a0] # | |
(Show2 p, Show1 f, Show1 g, Show a) => Show1 (Biff p f g a) Source # | |
(Bitraversable p, Traversable g) => Traversable (Biff p f g a) Source # | |
Defined in Data.Bifunctor.Biff traverse :: Applicative f0 => (a0 -> f0 b) -> Biff p f g a a0 -> f0 (Biff p f g a b) # sequenceA :: Applicative f0 => Biff p f g a (f0 a0) -> f0 (Biff p f g a a0) # mapM :: Monad m => (a0 -> m b) -> Biff p f g a a0 -> m (Biff p f g a b) # sequence :: Monad m => Biff p f g a (m a0) -> m (Biff p f g a a0) # | |
(Bifunctor p, Functor g) => Functor (Biff p f g a) Source # | |
Generic (Biff p f g a b) Source # | |
Read (p (f a) (g b)) => Read (Biff p f g a b) Source # | |
Show (p (f a) (g b)) => Show (Biff p f g a b) Source # | |
Eq (p (f a) (g b)) => Eq (Biff p f g a b) Source # | |
Ord (p (f a) (g b)) => Ord (Biff p f g a b) Source # | |
Defined in Data.Bifunctor.Biff compare :: Biff p f g a b -> Biff p f g a b -> Ordering # (<) :: Biff p f g a b -> Biff p f g a b -> Bool # (<=) :: Biff p f g a b -> Biff p f g a b -> Bool # (>) :: Biff p f g a b -> Biff p f g a b -> Bool # (>=) :: Biff p f g a b -> Biff p f g a b -> Bool # | |
type Rep1 (Biff p f g a :: k3 -> Type) Source # | |
Defined in Data.Bifunctor.Biff | |
type Rep (Biff p f g a b) Source # | |
Defined in Data.Bifunctor.Biff |