Summary: Generic function that applies a (non-generic) function to every
element in a value, splitting the element into two. The result are two
structurally equivalent values, one with the elements from the first
component of the splitting function and the other with the elements from the
unzipWith can be seen as the dual of the zipWith function. It has no
See also Generics.EMGM.Functions.ZipWith.
|newtype UnzipWith a b c ||Source|
|Type for unzipWith
|selUnzipWith :: a -> (b, c)|
|:: FRep3 UnzipWith f|
|=> a -> (b, c)||Splitting function.
|-> f a||Container of a-values.
|-> (f b, f c)||Pair of containers.
|Splits a container into two structurally equivalent containers by applying
a function to every element, which splits it into two corresponding elements.
All other functions in this module are derived from unzipWith.
|Transforms a container of pairs into a container of first components and a
container of second components. This is a generic version of the Prelude
function of the same name.
|Produced by Haddock version 2.4.2|