I don't understand the following piece of code.
val array = new Array[INT](1..1000, ([i]:Point) => 0);
val dist = Dist.makeBlock(array.region);
val distArray = DistArray.make(dist, ([i]:Point) => array(i));
This is all. The expressions in () are very confusing, but also the =>, Dist and DistArray.