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
[Proposal] Optional explicit type parameters #39
Comments
Regarding the details: What shall happen when you annotate a pin with type parameter
Argue! |
Shall that type parameter vanish and be substituted by Boolean?Option A) Replace every occurrence with the concrete type
Option B) No. Always keep the parameter. Never substitute |
I wanted to add that this proposal might give us a way out regarding another issue: calling operations on |
Works for me |
This got implemented for 2021.4. |
We want the user to be able to specify explicit type parameters on type definitions.
This is necessary to solve Issue B mentioned here: #38
In the Name field
you shall be able to write
MyClass<MyT1, MyT2>
.By that, you tell the system
MyClass<Float32, Boolean>
somewhere, it is clear which type parameter is replaced by which type argument.This proposal tries to not reinvent everything:
This proposal is not about optional explicit type parameters on
For now, we want to tackle the problems on type definitions. Let's see if we then still need those other forms of expression.
The text was updated successfully, but these errors were encountered: