3 ms·
Rule is straightforward – if there is stuff one indentation level deeper, prepend parens.
by vgrichina 13y ago
Rule is straightforward – if there is stuff one indentation level deeper, prepend parens.
- graue 13y agoThat doesn't explain the third line. Your rule would result in (if condition (1) (else-clause)) trying to call 1 as a function, which is an error.
- vgrichina 13y agoNo, there is nothing one indentation level deeper than 1, so it should have no parens according to the rule.
- graue 13y agoAh, your wording was ambiguous. I thought you meant, in this situation: ... X Y ... since Y is one indentation level deeper than X, prepend parens to Y. But you meant "since there exists Y such that Y is one indentation level deeper than X, prepend parens to X".