Copyright | (C) 2008-2016 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <[email protected]> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Documentation
newtype Tannen f p a b Source #
Instances
Functor f => BifunctorFunctor (Tannen f :: (k1 -> k2 -> Type) -> k1 -> k2 -> Type) Source # | |
Comonad f => BifunctorComonad (Tannen f :: (k1 -> k2 -> Type) -> k1 -> k2 -> Type) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Functor f, Monad f) => BifunctorMonad (Tannen f :: (k1 -> k2 -> Type) -> k1 -> k2 -> Type) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Applicative f, Category p) => Category (Tannen f p :: k -> k -> Type) Source # | |
Functor f => Generic1 (Tannen f p a :: k2 -> Type) Source # | |
(Applicative f, Arrow p) => Arrow (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen arr :: (b -> c) -> Tannen f p b c Source # first :: Tannen f p b c -> Tannen f p (b, d) (c, d) Source # second :: Tannen f p b c -> Tannen f p (d, b) (d, c) Source # (***) :: Tannen f p b c -> Tannen f p b' c' -> Tannen f p (b, b') (c, c') Source # (&&&) :: Tannen f p b c -> Tannen f p b c' -> Tannen f p b (c, c') Source # | |
(Applicative f, ArrowChoice p) => ArrowChoice (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen left :: Tannen f p b c -> Tannen f p (Either b d) (Either c d) Source # right :: Tannen f p b c -> Tannen f p (Either d b) (Either d c) Source # (+++) :: Tannen f p b c -> Tannen f p b' c' -> Tannen f p (Either b b') (Either c c') Source # (|||) :: Tannen f p b d -> Tannen f p c d -> Tannen f p (Either b c) d Source # | |
(Applicative f, ArrowLoop p) => ArrowLoop (Tannen f p) Source # | |
(Applicative f, ArrowPlus p) => ArrowPlus (Tannen f p) Source # | |
(Applicative f, ArrowZero p) => ArrowZero (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Foldable f, Bifoldable p) => Bifoldable (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Functor f, Bifunctor p) => Bifunctor (Tannen f p) Source # | |
(Traversable f, Bitraversable p) => Bitraversable (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen bitraverse :: Applicative f0 => (a -> f0 c) -> (b -> f0 d) -> Tannen f p a b -> f0 (Tannen f p c d) Source # | |
(Eq1 f, Eq2 p) => Eq2 (Tannen f p) Source # | |
(Ord1 f, Ord2 p) => Ord2 (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Read1 f, Read2 p) => Read2 (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen liftReadsPrec2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> Int -> ReadS (Tannen f p a b) Source # liftReadList2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> ReadS [Tannen f p a b] Source # liftReadPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec (Tannen f p a b) Source # liftReadListPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec [Tannen f p a b] Source # | |
(Show1 f, Show2 p) => Show2 (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Applicative f, Biapplicative p) => Biapplicative (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen bipure :: a -> b -> Tannen f p a b Source # (<<*>>) :: Tannen f p (a -> b) (c -> d) -> Tannen f p a c -> Tannen f p b d Source # biliftA2 :: (a -> b -> c) -> (d -> e -> f0) -> Tannen f p a d -> Tannen f p b e -> Tannen f p c f0 Source # (*>>) :: Tannen f p a b -> Tannen f p c d -> Tannen f p c d Source # (<<*) :: Tannen f p a b -> Tannen f p c d -> Tannen f p a b Source # | |
(Foldable f, Bifoldable p) => Foldable (Tannen f p a) Source # | |
Defined in Data.Bifunctor.Tannen fold :: Monoid m => Tannen f p a m -> m Source # foldMap :: Monoid m => (a0 -> m) -> Tannen f p a a0 -> m Source # foldMap' :: Monoid m => (a0 -> m) -> Tannen f p a a0 -> m Source # foldr :: (a0 -> b -> b) -> b -> Tannen f p a a0 -> b Source # foldr' :: (a0 -> b -> b) -> b -> Tannen f p a a0 -> b Source # foldl :: (b -> a0 -> b) -> b -> Tannen f p a a0 -> b Source # foldl' :: (b -> a0 -> b) -> b -> Tannen f p a a0 -> b Source # foldr1 :: (a0 -> a0 -> a0) -> Tannen f p a a0 -> a0 Source # foldl1 :: (a0 -> a0 -> a0) -> Tannen f p a a0 -> a0 Source # toList :: Tannen f p a a0 -> [a0] Source # null :: Tannen f p a a0 -> Bool Source # length :: Tannen f p a a0 -> Int Source # elem :: Eq a0 => a0 -> Tannen f p a a0 -> Bool Source # maximum :: Ord a0 => Tannen f p a a0 -> a0 Source # minimum :: Ord a0 => Tannen f p a a0 -> a0 Source # | |
(Eq1 f, Eq2 p, Eq a) => Eq1 (Tannen f p a) Source # | |
(Ord1 f, Ord2 p, Ord a) => Ord1 (Tannen f p a) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Read1 f, Read2 p, Read a) => Read1 (Tannen f p a) Source # | |
Defined in Data.Bifunctor.Tannen liftReadsPrec :: (Int -> ReadS a0) -> ReadS [a0] -> Int -> ReadS (Tannen f p a a0) Source # liftReadList :: (Int -> ReadS a0) -> ReadS [a0] -> ReadS [Tannen f p a a0] Source # liftReadPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec (Tannen f p a a0) Source # liftReadListPrec :: ReadPrec a0 -> ReadPrec [a0] -> ReadPrec [Tannen f p a a0] Source # | |
(Show1 f, Show2 p, Show a) => Show1 (Tannen f p a) Source # | |
(Traversable f, Bitraversable p) => Traversable (Tannen f p a) Source # | |
Defined in Data.Bifunctor.Tannen traverse :: Applicative f0 => (a0 -> f0 b) -> Tannen f p a a0 -> f0 (Tannen f p a b) Source # sequenceA :: Applicative f0 => Tannen f p a (f0 a0) -> f0 (Tannen f p a a0) Source # mapM :: Monad m => (a0 -> m b) -> Tannen f p a a0 -> m (Tannen f p a b) Source # sequence :: Monad m => Tannen f p a (m a0) -> m (Tannen f p a a0) Source # | |
(Functor f, Bifunctor p) => Functor (Tannen f p a) Source # | |
Generic (Tannen f p a b) Source # | |
Read (f (p a b)) => Read (Tannen f p a b) Source # | |
Show (f (p a b)) => Show (Tannen f p a b) Source # | |
Eq (f (p a b)) => Eq (Tannen f p a b) Source # | |
Ord (f (p a b)) => Ord (Tannen f p a b) Source # | |
Defined in Data.Bifunctor.Tannen compare :: Tannen f p a b -> Tannen f p a b -> Ordering Source # (<) :: Tannen f p a b -> Tannen f p a b -> Bool Source # (<=) :: Tannen f p a b -> Tannen f p a b -> Bool Source # (>) :: Tannen f p a b -> Tannen f p a b -> Bool Source # (>=) :: Tannen f p a b -> Tannen f p a b -> Bool Source # max :: Tannen f p a b -> Tannen f p a b -> Tannen f p a b Source # min :: Tannen f p a b -> Tannen f p a b -> Tannen f p a b Source # | |
type Rep1 (Tannen f p a :: k1 -> Type) Source # | |
Defined in Data.Bifunctor.Tannen | |
type Rep (Tannen f p a b) Source # | |
Defined in Data.Bifunctor.Tannen |