reduce: simplify multiline function declarations better