Multidimensional array indexing syntactic sugar functional