Jacqueline Firth

Results 356 issues of Jacqueline Firth

Consider this expression: ```scheme ; comment (define (foo) 1) ``` If I call `program-format` on that expression with an `#:indent` of 2, I get this output: ```scheme ; comment (define...

This code: ```scheme (struct point (x y) #:guard (λ (x y _) (values x y)) #:property prop:custom-print-quotable 'never #:inspector #false) ``` Gets reformatted into this: ```scheme (struct point (x y)...

This pull request changes the `pretty` syntax parameter to an ordinary function that calls whatever function is in `current-pretty`. This removes the need for the `#:default` keyword in `define-pretty`, and...

This code: ```scheme (struct some-struct-type (some-long-field another-long-field yet-another-long-field one-last-long-field) #:transparent) ``` is currently reformatted to this: ```scheme (struct some-struct-type (some-long-field another-long-field yet-another-long-field one-last-long-field) #:transparent) ``` However, this disagrees with DrRacket's...

`fmt` currently changes this code: ```scheme (define formulas (hash 'water (list 'hydrogen 'oxygen) 'benzene (list 'hydrogen 'carbon) 'glucose (list 'hydrogen 'oxygen 'carbon))) ``` into this: ```scheme (define formulas (hash 'water...

Sometimes a suggestion from Resyntax makes sense generally, but is unhelpful in a specific context. See [this comment](https://github.com/Bogdanp/racket-http-easy/pull/30/files/6690e51947dfa0eb9662c6b57d3cacaae0383507#r1879921673) for an example. Currently, this situation requires users to repeatedly ignore Autofixer...

enhancement
existing lint
autopilot-candidate

The `define-lambda-to-define` rule works on both ordinary `(define id (lambda ...))` forms and also `(define (func ...) (lambda ...))` forms. But the rule description is written assuming it's for the...

existing lint

The `for/last` form evaluates the loop body every iteration, even though it often only needs to evaluate it on the last iteration. This is very wasteful when the loop body...

new lint

Resyntax allows limiting the number of fixes it will apply via a `--max-fixes` flag. When used with the Autofixer, this can result in confusion because Resyntax will leave files in...

enhancement

```scheme #lang resyntax/test test: "let in function argument can be extracted" -------------------- #lang racket (define (f) (g (let ([x 42]) (* x 2)) (let ([y 100]) (* y 3)))) --------------------...

new lint