Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- class (GFunctor t, GFoldable t) => GTraversable t where
- gtraverse :: Applicative f => (a -> f b) -> t a -> f (t b)
- gsequenceA :: Applicative f => t (f a) -> f (t a)
- gmapM :: Monad m => (a -> m b) -> t a -> m (t b)
- gsequence :: Monad m => t (m a) -> m (t a)
- gtraversedefault :: (Generic1 t, GTraversable' (Rep1 t), Applicative f) => (a -> f b) -> t a -> f (t b)
- class GTraversable' t where
- gtraverse' :: Applicative f => (a -> f b) -> t a -> f (t b)
Generic Traversable class
class (GFunctor t, GFoldable t) => GTraversable t where Source #
Nothing
gtraverse :: Applicative f => (a -> f b) -> t a -> f (t b) Source #
default gtraverse :: (Generic1 t, GTraversable' (Rep1 t), Applicative f) => (a -> f b) -> t a -> f (t b) Source #
gsequenceA :: Applicative f => t (f a) -> f (t a) Source #
Instances
Default method
gtraversedefault :: (Generic1 t, GTraversable' (Rep1 t), Applicative f) => (a -> f b) -> t a -> f (t b) Source #
Internal Traversable class
class GTraversable' t where Source #
gtraverse' :: Applicative f => (a -> f b) -> t a -> f (t b) Source #