index reduce should work for arrays too
Merge branch 'dev' of github.com:iskandr/parakeet into dev
missing type annotations on some vars created by flattening