Delaration of an array with indexed type

This is not even Julia code?

Neither is this.

Please try to put some effort into formulating your question. See Please read: make it easier to help you.