There currently isn't a way to generically step through a static array
without knowing the dimensions a priori. So I believe we cannot currently
implement something like this:
fun foo[T,N] (x:array[T,N]) {
var i:int; forall i in 0 upto N do
print i; endl;
done;
}
Some way to do something like this probably should get implemented at
some point in the future.
-e