apl semantics for reshape