Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype Tannen f s a b Source #
Instances
(Traversable f, Bitraversable s) => Bitraversable (Tannen f s) Source # | |
Defined in Data.Bifunctor.Tannen bitraverse :: Applicative f0 => (a -> f0 c) -> (b -> f0 d) -> Tannen f s a b -> f0 (Tannen f s c d) # | |
(Foldable f, Bifoldable s) => Bifoldable (Tannen f s) Source # | |
(Functor f, Bifunctor s) => Bifunctor (Tannen f s) Source # | |
(Eq1 f, Eq2 s) => Eq2 (Tannen f s) Source # | |
(Ord1 f, Ord2 s) => Ord2 (Tannen f s) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Read1 f, Read2 s) => Read2 (Tannen f s) Source # | |
Defined in Data.Bifunctor.Tannen liftReadsPrec2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> Int -> ReadS (Tannen f s a b) # liftReadList2 :: (Int -> ReadS a) -> ReadS [a] -> (Int -> ReadS b) -> ReadS [b] -> ReadS [Tannen f s a b] # liftReadPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec (Tannen f s a b) # liftReadListPrec2 :: ReadPrec a -> ReadPrec [a] -> ReadPrec b -> ReadPrec [b] -> ReadPrec [Tannen f s a b] # | |
(Show1 f, Show2 s) => Show2 (Tannen f s) Source # | |
(Cotraversable f, Bicotraversable s) => Bicotraversable (Tannen f s) Source # | |
Defined in Data.Bifunctor.Tannen | |
(Functor f, Functor (s a)) => Functor (Tannen f s a) Source # | |
(Foldable f, Foldable (s a)) => Foldable (Tannen f s a) Source # | |
Defined in Data.Bifunctor.Tannen fold :: Monoid m => Tannen f s a m -> m # foldMap :: Monoid m => (a0 -> m) -> Tannen f s a a0 -> m # foldr :: (a0 -> b -> b) -> b -> Tannen f s a a0 -> b # foldr' :: (a0 -> b -> b) -> b -> Tannen f s a a0 -> b # foldl :: (b -> a0 -> b) -> b -> Tannen f s a a0 -> b # foldl' :: (b -> a0 -> b) -> b -> Tannen f s a a0 -> b # foldr1 :: (a0 -> a0 -> a0) -> Tannen f s a a0 -> a0 # foldl1 :: (a0 -> a0 -> a0) -> Tannen f s a a0 -> a0 # toList :: Tannen f s a a0 -> [a0] # null :: Tannen f s a a0 -> Bool # length :: Tannen f s a a0 -> Int # elem :: Eq a0 => a0 -> Tannen f s a a0 -> Bool # maximum :: Ord a0 => Tannen f s a a0 -> a0 # minimum :: Ord a0 => Tannen f s a a0 -> a0 # | |
(Traversable f, Traversable (s a)) => Traversable (Tannen f s a) Source # | |
Defined in Data.Bifunctor.Tannen traverse :: Applicative f0 => (a0 -> f0 b) -> Tannen f s a a0 -> f0 (Tannen f s a b) # sequenceA :: Applicative f0 => Tannen f s a (f0 a0) -> f0 (Tannen f s a a0) # mapM :: Monad m => (a0 -> m b) -> Tannen f s a a0 -> m (Tannen f s a b) # sequence :: Monad m => Tannen f s a (m a0) -> m (Tannen f s a a0) # | |
(Eq1 f, Eq2 s, Eq a, Eq b) => Eq (Tannen f s a b) Source # | |
(Ord1 f, Ord2 s, Ord a, Ord b) => Ord (Tannen f s a b) Source # | |
Defined in Data.Bifunctor.Tannen compare :: Tannen f s a b -> Tannen f s a b -> Ordering # (<) :: Tannen f s a b -> Tannen f s a b -> Bool # (<=) :: Tannen f s a b -> Tannen f s a b -> Bool # (>) :: Tannen f s a b -> Tannen f s a b -> Bool # (>=) :: Tannen f s a b -> Tannen f s a b -> Bool # | |
(Read1 f, Read2 s, Read a, Read b) => Read (Tannen f s a b) Source # | |
(Show1 f, Show2 s, Show a, Show b) => Show (Tannen f s a b) Source # | |