-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Should Adept support type inference? #306
Comments
Type inference could be re-considered now yes, although it might not appear until v3.0 since it may require some reworking of compiler internals |
Which syntax will you use for type inference? |
The syntax is still undecided, the most promising is something like |
This will happen on Adept 2.8 or Adept 3.0? |
Most likely not until 3.0, as the 2.8 compiler would need some significant restructuring for it to work |
Discussed in #158
Originally posted by ghost September 30, 2023
It's something very useful to have. Type inference is not something specific to dynamic languages. Static typing languages still can support type inference. For example, C++'s
auto
.LSP is available now (I have never tested it, though). But, it's time to consider support for type inference.
The text was updated successfully, but these errors were encountered: