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

Untangle subtyping rules explanation in type-lambdas-spec.md #22319

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

Conversation

ozenzin
Copy link
Contributor

@ozenzin ozenzin commented Jan 8, 2025

It is much more intuitive to think that TL2 is a subtype of TL1 (i.e. TL1 was introduced before it was specialized by TL2) than other way around.

It is much more intuitive to think that TL2 is a subtype of TL1 (i.e. TL1 was introduced _before_ it was specialized by TL2) than other way around.
@Gedochao Gedochao requested a review from sjrd January 8, 2025 09:29
Copy link
Member

@sjrd sjrd left a comment

Choose a reason for hiding this comment

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

TBH I don't see the difference. I'm not opposed to the new formulation, but to me neither is better than the other.

As far as we know the formulation makes it better for you, but it might equally confuse more some other people. Without some more evidence that this is more than personal anecdata, I suggest we keep the status quo.

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