JuliaLang/julia — pull request #7625 by Jutho (2014-07-16 14:28:41+00:00)
Title: patches to cartesian.jl

As discussed with @timholy in the Cartesian package, this patch allows the cartesian macros to work with an arbitrary number of parameters `N1`, `N2`, ... which is useful for writing more complicated functions for multidimensional arrays, e.g. a a mutating binary operation such as tensor contraction (see TensorOperations.jl ) requires three multidimensional arrays (two inputs, one output) with different `N1`, `N2` and `N3`.