Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class Strong p => Traversing1 (p :: Type -> Type -> Type) where
- dimapTraversing1 :: Traversing1 p => (a' -> a) -> (b -> b') -> p a b -> p a' b'
- lmapTraversing1 :: Traversing1 p => (a' -> a) -> p a b -> p a' b
- rmapTraversing1 :: Traversing1 p => (b -> b') -> p a b -> p a b'
- firstTraversing1 :: Traversing1 p => p a b -> p (a, c) (b, c)
- secondTraversing1 :: Traversing1 p => p a b -> p (c, a) (c, b)
Documentation
class Strong p => Traversing1 (p :: Type -> Type -> Type) where Source #
wander1 :: (forall (f :: Type -> Type). Apply f => (a -> f b) -> s -> f t) -> p a b -> p s t Source #
Instances
Apply f => Traversing1 (OptionalStar f) Source # | |
Defined in Fresnel.Profunctor.Traversing1 wander1 :: (forall (f0 :: Type -> Type). Apply f0 => (a -> f0 b) -> s -> f0 t) -> OptionalStar f a b -> OptionalStar f s t Source # | |
Apply f => Traversing1 (Star1 f) Source # | |
Monad m => Traversing1 (Kleisli m) Source # | |
Semigroup r => Traversing1 (Forget r :: Type -> Type -> Type) Source # | |
Applicative f => Traversing1 (Star f) Source # | |
Traversing1 (->) Source # | |
Profunctor from Traversing1
dimapTraversing1 :: Traversing1 p => (a' -> a) -> (b -> b') -> p a b -> p a' b' Source #
lmapTraversing1 :: Traversing1 p => (a' -> a) -> p a b -> p a' b Source #
rmapTraversing1 :: Traversing1 p => (b -> b') -> p a b -> p a b' Source #
Strong from Traversing1
firstTraversing1 :: Traversing1 p => p a b -> p (a, c) (b, c) Source #
secondTraversing1 :: Traversing1 p => p a b -> p (c, a) (c, b) Source #