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 | Haskell98 |
Documentation
newtype Tannen f p a b Source #
Instances
Functor f => BifunctorFunctor (Tannen f :: (k1 -> k2 -> *) -> k1 -> k2 -> *) Source # | |
Comonad f => BifunctorComonad (Tannen f :: (k1 -> k2 -> *) -> k1 -> k2 -> *) Source # | |
(Functor f, Monad f) => BifunctorMonad (Tannen f :: (k1 -> k2 -> *) -> k1 -> k2 -> *) Source # | |
(Applicative f, Category p) => Category (Tannen f p :: k -> k -> *) Source # | |
Functor f => Generic1 (Tannen f p a :: k2 -> *) 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) # | |
(Foldable f, Bifoldable p) => Bifoldable (Tannen f p) Source # | |
(Functor f, Bifunctor p) => Bifunctor (Tannen f p) Source # | |
(Applicative f, Arrow p) => Arrow (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Applicative f, ArrowZero p) => ArrowZero (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Applicative f, ArrowPlus p) => ArrowPlus (Tannen f p) Source # | |
(Applicative f, ArrowChoice p) => ArrowChoice (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Applicative f, ArrowLoop p) => ArrowLoop (Tannen f p) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Applicative f, Biapplicative p) => Biapplicative (Tannen f p) Source # | |
(Functor f, Bifunctor p) => Functor (Tannen f p a) 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 # foldMap :: Monoid m => (a0 -> m) -> Tannen f p a a0 -> m # foldr :: (a0 -> b -> b) -> b -> Tannen f p a a0 -> b # foldr' :: (a0 -> b -> b) -> b -> Tannen f p a a0 -> b # foldl :: (b -> a0 -> b) -> b -> Tannen f p a a0 -> b # foldl' :: (b -> a0 -> b) -> b -> Tannen f p a a0 -> b # foldr1 :: (a0 -> a0 -> a0) -> Tannen f p a a0 -> a0 # foldl1 :: (a0 -> a0 -> a0) -> Tannen f p a a0 -> a0 # toList :: Tannen f p a a0 -> [a0] # null :: Tannen f p a a0 -> Bool # length :: Tannen f p a a0 -> Int # elem :: Eq a0 => a0 -> Tannen f p a a0 -> Bool # maximum :: Ord a0 => Tannen f p a a0 -> a0 # minimum :: Ord a0 => Tannen f p a a0 -> a0 # | |
(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) # sequenceA :: Applicative f0 => Tannen f p a (f0 a0) -> f0 (Tannen f p a a0) # mapM :: Monad m => (a0 -> m b) -> Tannen f p a a0 -> m (Tannen f p a b) # sequence :: Monad m => Tannen f p a (m a0) -> m (Tannen f p a a0) # | |
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 # (<) :: Tannen f p a b -> Tannen f p a b -> Bool # (<=) :: Tannen f p a b -> Tannen f p a b -> Bool # (>) :: Tannen f p a b -> Tannen f p a b -> Bool # (>=) :: Tannen f p a b -> Tannen f p a b -> Bool # | |
Read (f (p a b)) => Read (Tannen f p a b) Source # | |
Show (f (p a b)) => Show (Tannen f p a b) Source # | |
Generic (Tannen f p a b) Source # | |
type Rep1 (Tannen f p a :: k1 -> *) Source # | |
Defined in Data.Bifunctor.Tannen | |
type Rep (Tannen f p a b) Source # | |
Defined in Data.Bifunctor.Tannen |