Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- class (GFunctor t, GFoldable t) => GTraversable t where
- gtraversedefault :: (Generic1 t, GTraversable' (Rep1 t), Applicative f) => (a -> f b) -> t a -> f (t b)
- class GTraversable' t where
Generic Traversable class
class (GFunctor t, GFoldable t) => GTraversable t where Source #
gtraverse :: Applicative f => (a -> f b) -> t a -> f (t b) Source #
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 #
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 #
GTraversable' U1 Source # | |
GTraversable' Par1 Source # | |
GTraversable' UAddr Source # | |
GTraversable' UChar Source # | |
GTraversable' UDouble Source # | |
GTraversable' UFloat Source # | |
GTraversable' UInt Source # | |
GTraversable' UWord Source # | |
GTraversable f => GTraversable' (Rec1 f) Source # | |
GTraversable' (K1 i c) Source # | |
(GTraversable' f, GTraversable' g) => GTraversable' ((:+:) f g) Source # | |
(GTraversable' f, GTraversable' g) => GTraversable' ((:*:) f g) Source # | |
(GTraversable f, GTraversable' g) => GTraversable' ((:.:) f g) Source # | |
GTraversable' f => GTraversable' (M1 i c f) Source # | |