Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Map (forall x. p x -> q x) |
Fold (forall x. p x -> m) |
newtype Traversal p q m Source #
Traversal (forall x. p x -> m (q x)) |
foldMap :: (Functor (Fold p m) g, Foldable (g (Const m)), Monoid m) => (forall a. p a -> m) -> g p p -> m Source #
traverse :: Traversable (Traversal p q m) g => (forall a. p a -> m (q a)) -> g p p -> m (g q q) Source #