add support for "array-style" type declarations
Merge pull request #17 from dtao/array-style-type-defs

add support for "array-style" type declarations