fmt
fmt copied to clipboard
Buggy formatting of dotted pairs
This code:
(define (f stx)
(syntax-case stx (module)
[(module . rest) (void)]))
Is currently reformatted by fmt to this:
(define (f stx)
(syntax-case stx (module)
[(module . rest
)
(void)]))
As discussed here, that seems to be because fmt thinks (module . rest) is a normal module form and . is the module's name. The issue isn't specific to module; it probably affects all uses of dotted pairs.