Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format provide and contract-out #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Format provide and contract-out #81

wants to merge 1 commit into from

Conversation

sorawee
Copy link
Owner

@sorawee sorawee commented Oct 31, 2024

According to the discussion in racket/drracket#690 (comment)

(#:dest (or/c #f path-string?)
#:strip-count exact-nonnegative-integer?
#:permissive? any/c
#:filter (path? (or/c path? #f)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not ideal, but unrelated to the change in this PR.

(provide
parse-srv-rr
(contract-out
[struct
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh no, this needs a fix.

@jackfirth
Copy link
Contributor

Looks excellent, modulo the issues you already found. Does it handle the other weird contract-out subforms? Like rename, #:forall, and #:unprotected-submodule.

@sorawee
Copy link
Owner Author

sorawee commented Oct 31, 2024

It will when I fix the problem I found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants