-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Decide upon approach to structural types #1517
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
Comments
Related discussion #1175. |
Perhaps it might be worthwhile to look into other languages like OCaml which uses structural types and also make this an opportunity to improve on structural types. |
Here is a summary of structural types containing defs in the wild: olafurpg/scala-experiments#2 The sample is taken from these projects: https://github.com/olafurpg/scala-repos/tree/master/repos Seems like many of them are in scala/scala jetbrains/intellij-scala |
Have we considered removing structural types? From your analysis @olafurpg it looks like structural types with defs are used more in Scala's compiler tests than anywhere else, and if we came up with a story for first-class type projections I don't think they'd have any uses at all. |
The latest status of structural types is the new implementation (which is not tied to Java reflection, although it can support it to) at: #1881 |
No description provided.
The text was updated successfully, but these errors were encountered: