indentation fix
fix collecting of undefined functions
reduce without 2 args is error
detect array slice operators
detect array iteration operator
remove unneeded cases