resyntax icon indicating copy to clipboard operation
resyntax copied to clipboard

->* #:rest to -> ...

Open sorawee opened this issue 1 year ago • 0 comments

Many contracts use ->* with #:rest to contract a function with a rest argument.

However, ->* is difficult to read.

Since Racket 6.5, -> supports ..., which can be used to support the rest argument as well.

Since -> is much easier to read, when applicable, ->* #:rest should be rewritten to -> ....

sorawee avatar Jun 19 '24 12:06 sorawee