¤ splitSP
Types
splitSP ::
SP
(
a
,
b
) (
Either
a
b
)
Description
splitSP
is a stream processor that inputs pairs
(x,y)
and outputs the parts one after the other, tagged with
Left
and
Right
.
Input
pairs
(x,y)
Output
the parts of the input pairs, tagged:
Left x
,
Right y
.
Example
(f1>+<f2)>=^^<splitSP
Bugs
Should perhaps be called unzipSP instead.
See Also
>+<
,
zipSP
.