Safe Haskell | None |
---|
Distribution of Tuples
- zipD :: (DT a, DT b) => Dist a -> Dist b -> Dist (a, b)
- unzipD :: (DT a, DT b) => Dist (a, b) -> (Dist a, Dist b)
- fstD :: (DT a, DT b) => Dist (a, b) -> Dist a
- sndD :: (DT a, DT b) => Dist (a, b) -> Dist b
- zip3D :: (DT a, DT b, DT c) => Dist a -> Dist b -> Dist c -> Dist (a, b, c)
- unzip3D :: (DT a, DT b, DT c) => Dist (a, b, c) -> (Dist a, Dist b, Dist c)
Pairs
zipD :: (DT a, DT b) => Dist a -> Dist b -> Dist (a, b)Source
Pairing of distributed values.
The two values must belong to the same Gang
.
fstD :: (DT a, DT b) => Dist (a, b) -> Dist aSource
Extract the first elements of a distributed pair.
sndD :: (DT a, DT b) => Dist (a, b) -> Dist bSource
Extract the second elements of a distributed pair.