On Thursday, September 1, 2016 at 8:25:27 PM UTC-4, Erik Schnetter wrote: > > One of the strengths of Mathematica's pattern matching system is the > ability for structural matching, e.g. to match a list where the second > element is a real number. This is something that is not (yet?) possible > with Julia's dispatch. > <http://www.perimeterinstitute.ca/personal/eschnetter/> >
You can do it (see e.g. Match.jl), just not at compile time, because the elements of an array are not known at compile time, nor are the types of the elements of an Array{Any}.