resyntax
resyntax copied to clipboard
->* #:rest to -> ...
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 -> ....