Conversation
This wasn't actually used, and now it conflicts with the deprecated alias definition.
There was a problem hiding this comment.
Resyntax analyzed 4 files in this pull request and has added suggestions.
| aux-elem | ||
| code-inset) | ||
| (provide/contract [filebox (((or/c core:element? string?)) () #:rest (listof pre-flow?) . ->* . block?)]) | ||
|
|
There was a problem hiding this comment.
arrow-contract-with-rest-to-arrow-contract-with-ellipses: This ->* contract can be rewritten using -> with ellipses.
| [filebox (-> (or/c core:element? string?) pre-flow? ... block?)])) |
Debugging details
Textual replacement
(line-replacement
#:new-lines
'#(" [filebox (-> (or/c core:element? string?) pre-flow? ... block?)]))")
#:original-lines
'#(" [filebox (((or/c core:element? string?)) () #:rest (listof pre-flow?) . ->* . block?)]))")
#:start-line 27)Syntactic replacement
(syntax-replacement
#:introduction-scope #<procedure:...and/syntax-local.rkt:148:2>
#:new-syntax
#<syntax:/home/runner/.local/share/racket/8.17.0.6/pkgs/resyntax/default-recommendations/contract-shortcuts.rkt:58:2 (-> (or/c core:element? string?) pre-flow? ... block?)>
#:original-syntax
#<syntax:scribble-lib/scribble/private/manual-style.rkt:27:19 (->* ((or/c core:element? string?)) () #:rest (listof pre-flow?) block?)>
#:source
(file-source
#<path:/home/runner/work/scribble/scribble/scribble-lib/scribble/private/manual-style.rkt>))|
I think this needs to be updated for a change to |
|
Hmm. Is there a way for |
|
You could use |
|
Is there any way to achieve the same thing in an internal definition context? |
|
Do you mean an internal definition context that's in a module? Using |
|
I drafted racket/racket#5289 to clarify what I'd like to work. I think |
This will allow Resyntax to replace uses of these legacy forms with their modern names.