|
|
|
|
|
|
| Synopsis |
|
| class (Functor f, Applicative f, Foldable f, Traversable f) => Tup f where | | | | maybeTupFromList :: Tup f => [a] -> Maybe (f a) | | | transposeTup :: (Tup f, Tup g) => f (g a) -> g (f a) | | | maybeTupConcat :: (Tup f, Tup g, Tup h) => f a -> g a -> Maybe (h a) | | | unsafeTupConcat :: (Tup f, Tup g, Tup h) => f a -> g a -> h a | | | zipTupWith :: Applicative f => (a -> b -> c) -> f a -> f b -> f c | | | zipTupWith3 :: Applicative f => (a -> b -> c -> d) -> f a -> f b -> f c -> f d | | | zipTupWith4 :: Applicative f => (a -> b -> c -> d -> e) -> f a -> f b -> f c -> f d -> f e | | | zipTup :: Applicative f => f a -> f b -> f (a, b) | | | zipTup3 :: Applicative f => f a -> f b -> f c -> f (a, b, c) | | | zipTup4 :: Applicative f => f a -> f b -> f c -> f d -> f (a, b, c, d) |
|
|
|
| the Tup class
|
|
|
| | Methods | | | | | | tupFromList :: [a] -> f a | Source |
| | |
| | Instances | |
|
|
| misc
|
|
|
| Safe version of tupFromList.
|
|
|
| Transpose a Tup of Tups.
|
|
|
| Concatenation
|
|
|
|
| zipping
|
|
|
|
|
|
| zipTupWith4 :: Applicative f => (a -> b -> c -> d -> e) -> f a -> f b -> f c -> f d -> f e | Source |
|
|
|
|
|
|
|
|
| Produced by Haddock version 2.6.1 |