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

[explainer] Abbreviate away continuation function types #68

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

tlively
Copy link
Member

@tlively tlively commented Jul 30, 2024

Simplify the explanation of the typing rules by abbreviating C.types[$ct] = cont $ft; C.types[$ft] = [t1*] -> [t2*] to just C.types[$ct] = cont [t1*] -> [t2*]. We can use an auxiliary function to implement the same abbreviation in the formal spec.

Simplify the explanation of the typing rules by abbreviating
`C.types[$ct] = cont $ft; C.types[$ft] = [t1*] -> [t2*]` to just
`C.types[$ct] = cont [t1*] -> [t2*]`. We can use an auxiliary function
to implement the same abbreviation in the formal spec.
Copy link
Contributor

@conrad-watt conrad-watt left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

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

LGTM

C.types[$ft] = [t1*] -> [t2*]
```

This abbreviation will be formalized with an auxiliary function in the spec.
Copy link
Member

Choose a reason for hiding this comment

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

FWIW, this may be possible without if we rely on a suitable normalisation invariant.

@rossberg rossberg deleted the explainer-simplfy-cont-funcs branch July 31, 2024 14:04
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.

3 participants