Jacqueline Firth
Jacqueline Firth
A few tests that check that it parses arguments correctly and refactors some temp files would go a long way.
Whenever a form is being expanded, the result of `syntax-local-context` has one of five values: `'expression`, `'top-level`, `'module`, `'module-begin`, or a value representing a specific definition context. This is useful...
### Rule summary The code `(apply append (map syntax->list (syntax->list #'((id ...) ...))))` is more directly expressed as `(syntax->list #'(id ... ...))`. ### Test case ```scheme #lang resyntax/test test: "original...
Often, the `unless-expression-in-for-loop-to-unless-keyword` rule (and its corresponding `when`-based rule) rewrites this: ```scheme (for ([v (in-list vs)]) (unless (good? v) (raise-arguments-error ...))) ``` to this: ```scheme (for ([v (in-list vs)] #:unless...
TODO: more details Notes: - Only warn when at least one other export in the same module is documented - Cannot suggest a fix, so this is a warn-only rule
It should be possible to tell Resyntax to keep specific collections in sorted order. This could be done with a `keep-sorted` macro by making a Resyntax rule that looks for...
The implementation of `identifier-usage-analyzer` currently doesn't see disappeared uses, as recorded by macros in [the `'disappeared-use` syntax property](https://docs.racket-lang.org/tools/Check_Syntax.html#(part._.Syntax_.Properties_that_.Check_.Syntax_.Looks_.For)). This test should pass: ```scheme #lang resyntax/test header: - #lang racket/base analysis-test:...
No more than 3 should be open at a time.
### Rule summary Old scheme code that doesn't use internal definitions sometimes uses complex named `let` loops with very large expressions used as the initial values for the named `let`'s...