> How does your text editor deal with named let vs let?
The configuration for auto indentation assigns each symbol a number
which is the number of forms after the the symbol to align vertically.
The forms after this number are indented two space to the right of the
opening parenthesis. For `let` this number is `1` (and this is for both
named let and normal let).
For named let it is not an issue because the auto-indentation only
occurs when I add a newline. Since I write named let like
(let loop ((arg value)
...)
body ...)
the auto indenter will see that the next item to indent is the third
form and will indent it with two spaces.
It is easier to see the problem with `do` because it has more forms to
align. For `do` the number is 2, in order to indent:
(do ((var init step) ...)
(stop? sequence ...)
command ...)
Grabbing a random example from the SRFI, the text editor would indent
`do` as:
(do (lambda (even odd)
(if (odd? n)
(odd (+ o 1))
(even (+ e 1))))
[(e) (go f)]
[(o) (go f)])
This is a pretty minor issue, but there isn't a good way for this text
editor to accommodate both `do` forms. (Similar pains happen when I have
to work with multiple macros named `match`.)
-- Peter McGoron