Documentation
eqD :: (Eq a, DT a) => Gang -> Dist a -> Dist a -> Bool
Test whether to distributed values are equal.
This requires a Gang
and hence can't be defined in terms of Eq
.
neqD :: (Eq a, DT a) => Gang -> Dist a -> Dist a -> Bool
Test whether to distributed values are not equal.
This requires a Gang
and hence can't be defined in terms of Eq
.
toD :: DT a => Gang -> [a] -> Dist a
Generate a distributed value from the first p
elements of a list.
- For debugging only, don't use in production code.
fromD :: DT a => Gang -> Dist a -> [a]
Yield all elements of a distributed value.
- For debugging only, don't use in production code.