Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
fmapEither :: (a -> b) -> Either e a -> Either e b Source #
Orphan instances
Foldable Tree Source # | |
fold :: Monoid m => Tree m -> m # foldMap :: Monoid m => (a -> m) -> Tree a -> m # foldMap' :: Monoid m => (a -> m) -> Tree a -> m # foldr :: (a -> b -> b) -> b -> Tree a -> b # foldr' :: (a -> b -> b) -> b -> Tree a -> b # foldl :: (b -> a -> b) -> b -> Tree a -> b # foldl' :: (b -> a -> b) -> b -> Tree a -> b # foldr1 :: (a -> a -> a) -> Tree a -> a # foldl1 :: (a -> a -> a) -> Tree a -> a # elem :: Eq a => a -> Tree a -> Bool # maximum :: Ord a => Tree a -> a # | |
Traversable Tree Source # | |
Functor Tree Source # | |
FromJSON a => FromJSON (Tree a) Source # | |
ToJSON a => ToJSON (Tree a) Source # | |
Foldable (SimpleIndex a) Source # | |
fold :: Monoid m => SimpleIndex a m -> m # foldMap :: Monoid m => (a0 -> m) -> SimpleIndex a a0 -> m # foldMap' :: Monoid m => (a0 -> m) -> SimpleIndex a a0 -> m # foldr :: (a0 -> b -> b) -> b -> SimpleIndex a a0 -> b # foldr' :: (a0 -> b -> b) -> b -> SimpleIndex a a0 -> b # foldl :: (b -> a0 -> b) -> b -> SimpleIndex a a0 -> b # foldl' :: (b -> a0 -> b) -> b -> SimpleIndex a a0 -> b # foldr1 :: (a0 -> a0 -> a0) -> SimpleIndex a a0 -> a0 # foldl1 :: (a0 -> a0 -> a0) -> SimpleIndex a a0 -> a0 # toList :: SimpleIndex a a0 -> [a0] # null :: SimpleIndex a a0 -> Bool # length :: SimpleIndex a a0 -> Int # elem :: Eq a0 => a0 -> SimpleIndex a a0 -> Bool # maximum :: Ord a0 => SimpleIndex a a0 -> a0 # minimum :: Ord a0 => SimpleIndex a a0 -> a0 # sum :: Num a0 => SimpleIndex a a0 -> a0 # product :: Num a0 => SimpleIndex a a0 -> a0 # | |
Traversable (SimpleIndex a) Source # | |
traverse :: Applicative f => (a0 -> f b) -> SimpleIndex a a0 -> f (SimpleIndex a b) # sequenceA :: Applicative f => SimpleIndex a (f a0) -> f (SimpleIndex a a0) # mapM :: Monad m => (a0 -> m b) -> SimpleIndex a a0 -> m (SimpleIndex a b) # sequence :: Monad m => SimpleIndex a (m a0) -> m (SimpleIndex a a0) # | |
Functor (SimpleIndex a) Source # | |
fmap :: (a0 -> b) -> SimpleIndex a a0 -> SimpleIndex a b # (<$) :: a0 -> SimpleIndex a b -> SimpleIndex a a0 # | |
Eq a => Eq (Tree a) Source # | |
EFunctor f => Functor (Hkd f) Source # | |
Show b => KFunctor WeirdTree '['Co] (a :&&: 'LoT0 :: LoT (TYPE LiftedRep -> TYPE LiftedRep)) (b :&&: 'LoT0 :: LoT (TYPE LiftedRep -> TYPE LiftedRep)) Source # | |
KFunctor Tree '['Co] (a :&&: 'LoT0 :: LoT (Type -> TYPE LiftedRep)) (b :&&: 'LoT0 :: LoT (Type -> TYPE LiftedRep)) Source # | |
KFunctor Maybe '['Co] (a :&&: 'LoT0 :: LoT (Type -> TYPE LiftedRep)) (b :&&: 'LoT0 :: LoT (Type -> TYPE LiftedRep)) Source # | |
ToJSON (TTY m a) Source # | |
Eq (TTY m a) Source # | |