semigroupoids-5.2.1: Semigroupoids: Category sans id

Data.Semigroup.Traversable.Class

Description

# Documentation

class (Bifoldable1 t, Bitraversable t) => Bitraversable1 t where Source #

Minimal complete definition

Methods

bitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> t a c -> f (t b d) Source #

bisequence1 :: Apply f => t (f a) (f b) -> f (t a b) Source #

Instances

 Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Either a c -> f (Either b d) Source #bisequence1 :: Apply f => Either (f a) (f b) -> f (Either a b) Source # Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> (a, c) -> f (b, d) Source #bisequence1 :: Apply f => (f a, f b) -> f (a, b) Source # Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Arg a c -> f (Arg b d) Source #bisequence1 :: Apply f => Arg (f a) (f b) -> f (Arg a b) Source # Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> (x, a, c) -> f (x, b, d) Source #bisequence1 :: Apply f => (x, f a, f b) -> f (x, a, b) Source # Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Const * a c -> f (Const * b d) Source #bisequence1 :: Apply f => Const * (f a) (f b) -> f (Const * a b) Source # Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Tagged * a c -> f (Tagged * b d) Source #bisequence1 :: Apply f => Tagged * (f a) (f b) -> f (Tagged * a b) Source # Bitraversable1 ((,,,) x y) Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> (x, y, a, c) -> f (x, y, b, d) Source #bisequence1 :: Apply f => (x, y, f a, f b) -> f (x, y, a, b) Source # Bitraversable1 ((,,,,) x y z) Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> (x, y, z, a, c) -> f (x, y, z, b, d) Source #bisequence1 :: Apply f => (x, y, z, f a, f b) -> f (x, y, z, a, b) Source # Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> WrappedBifunctor * * p a c -> f (WrappedBifunctor * * p b d) Source #bisequence1 :: Apply f => WrappedBifunctor * * p (f a) (f b) -> f (WrappedBifunctor * * p a b) Source # Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Joker * * g a c -> f (Joker * * g b d) Source #bisequence1 :: Apply f => Joker * * g (f a) (f b) -> f (Joker * * g a b) Source # Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Flip * * p a c -> f (Flip * * p b d) Source #bisequence1 :: Apply f => Flip * * p (f a) (f b) -> f (Flip * * p a b) Source # Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Clown * * f a c -> f (Clown * * f b d) Source #bisequence1 :: Apply f => Clown * * f (f a) (f b) -> f (Clown * * f a b) Source # (Bitraversable1 f, Bitraversable1 g) => Bitraversable1 (Product * * f g) Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Product * * f g a c -> f (Product * * f g b d) Source #bisequence1 :: Apply f => Product * * f g (f a) (f b) -> f (Product * * f g a b) Source # (Traversable1 f, Bitraversable1 p) => Bitraversable1 (Tannen * * * f p) Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Tannen * * * f p a c -> f (Tannen * * * f p b d) Source #bisequence1 :: Apply f => Tannen * * * f p (f a) (f b) -> f (Tannen * * * f p a b) Source # (Bitraversable1 p, Traversable1 f, Traversable1 g) => Bitraversable1 (Biff * * * * p f g) Source # Methodsbitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Biff * * * * p f g a c -> f (Biff * * * * p f g b d) Source #bisequence1 :: Apply f => Biff * * * * p f g (f a) (f b) -> f (Biff * * * * p f g a b) Source #

class (Foldable1 t, Traversable t) => Traversable1 t where Source #

Minimal complete definition

Methods

traverse1 :: Apply f => (a -> f b) -> t a -> f (t b) Source #

sequence1 :: Apply f => t (f b) -> f (t b) Source #

Instances

 Source # Methodstraverse1 :: Apply f => (a -> f b) -> V1 a -> f (V1 b) Source #sequence1 :: Apply f => V1 (f b) -> f (V1 b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> Par1 a -> f (Par1 b) Source #sequence1 :: Apply f => Par1 (f b) -> f (Par1 b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> Identity a -> f (Identity b) Source #sequence1 :: Apply f => Identity (f b) -> f (Identity b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> NonEmpty a -> f (NonEmpty b) Source #sequence1 :: Apply f => NonEmpty (f b) -> f (NonEmpty b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> Complex a -> f (Complex b) Source #sequence1 :: Apply f => Complex (f b) -> f (Complex b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> Tree a -> f (Tree b) Source #sequence1 :: Apply f => Tree (f b) -> f (Tree b) Source # Traversable1 f => Traversable1 (Rec1 f) Source # Methodstraverse1 :: Apply f => (a -> f b) -> Rec1 f a -> f (Rec1 f b) Source #sequence1 :: Apply f => Rec1 f (f b) -> f (Rec1 f b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> (a, a) -> f (a, b) Source #sequence1 :: Apply f => (a, f b) -> f (a, b) Source # Traversable1 f => Traversable1 (Lift f) Source # Methodstraverse1 :: Apply f => (a -> f b) -> Lift f a -> f (Lift f b) Source #sequence1 :: Apply f => Lift f (f b) -> f (Lift f b) Source # (Traversable1 f, Traversable1 g) => Traversable1 ((:+:) f g) Source # Methodstraverse1 :: Apply f => (a -> f b) -> (f :+: g) a -> f ((f :+: g) b) Source #sequence1 :: Apply f => (f :+: g) (f b) -> f ((f :+: g) b) Source # (Traversable1 f, Traversable1 g) => Traversable1 ((:*:) f g) Source # Methodstraverse1 :: Apply f => (a -> f b) -> (f :*: g) a -> f ((f :*: g) b) Source #sequence1 :: Apply f => (f :*: g) (f b) -> f ((f :*: g) b) Source # (Traversable1 f, Traversable1 g) => Traversable1 ((:.:) f g) Source # Methodstraverse1 :: Apply f => (a -> f b) -> (f :.: g) a -> f ((f :.: g) b) Source #sequence1 :: Apply f => (f :.: g) (f b) -> f ((f :.: g) b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> Join * p a -> f (Join * p b) Source #sequence1 :: Apply f => Join * p (f b) -> f (Join * p b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> IdentityT * f a -> f (IdentityT * f b) Source #sequence1 :: Apply f => IdentityT * f (f b) -> f (IdentityT * f b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> Tagged * a a -> f (Tagged * a b) Source #sequence1 :: Apply f => Tagged * a (f b) -> f (Tagged * a b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> Reverse * f a -> f (Reverse * f b) Source #sequence1 :: Apply f => Reverse * f (f b) -> f (Reverse * f b) Source # Source # Methodstraverse1 :: Apply f => (a -> f b) -> Backwards * f a -> f (Backwards * f b) Source #sequence1 :: Apply f => Backwards * f (f b) -> f (Backwards * f b) Source # Traversable1 f => Traversable1 (M1 i c f) Source # Methodstraverse1 :: Apply f => (a -> f b) -> M1 i c f a -> f (M1 i c f b) Source #sequence1 :: Apply f => M1 i c f (f b) -> f (M1 i c f b) Source # (Traversable1 f, Traversable1 g) => Traversable1 (Sum * f g) Source # Methodstraverse1 :: Apply f => (a -> f b) -> Sum * f g a -> f (Sum * f g b) Source #sequence1 :: Apply f => Sum * f g (f b) -> f (Sum * f g b) Source # (Traversable1 f, Traversable1 g) => Traversable1 (Product * f g) Source # Methodstraverse1 :: Apply f => (a -> f b) -> Product * f g a -> f (Product * f g b) Source #sequence1 :: Apply f => Product * f g (f b) -> f (Product * f g b) Source # (Traversable1 f, Traversable1 g) => Traversable1 (Compose * * f g) Source # Methodstraverse1 :: Apply f => (a -> f b) -> Compose * * f g a -> f (Compose * * f g b) Source #sequence1 :: Apply f => Compose * * f g (f b) -> f (Compose * * f g b) Source # Traversable1 g => Traversable1 (Joker * * g a) Source # Methodstraverse1 :: Apply f => (a -> f b) -> Joker * * g a a -> f (Joker * * g a b) Source #sequence1 :: Apply f => Joker * * g a (f b) -> f (Joker * * g a b) Source #