-
Notifications
You must be signed in to change notification settings - Fork 3
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
Generics Syntax #18
Comments
Erneuerter Vorschlag mit Kombinationen (mit ein paar ungelösten Problemen): Für Kombinationen braucht es ebenfalls Syntax um generische Typen anzugeben.
Wie man sieht gibt es ein kleines und ein großes Problem bei diesem Ansatz. Das kleine Problem ist die Frage welchen Standartwert Generische Kombinations-Variablen haben sollen. Das deutlich größere Problem ist die Frage wie man einen generischen Typ instanziert. |
Die Typedef Syntax oben war nur ein temporärer Vorschlag. |
Generics sind zwar ein Feature für die ferne Zukunft, aber hier trotzdem schonmal ein Syntax Vorschlag:
The text was updated successfully, but these errors were encountered: