2 ms·
Thanks for vote of confidence! We need to type every data type and every function, so the type system will be rolled out over a long period of time. The 1.17
by josevalim 2y ago
Thanks for vote of confidence!
We need to type every data type and every function, so the type system will be rolled out over a long period of time.
The 1.17 release meant that we now have a gradual type system, which runs in every code being compiled, but it only supports a handful of types (including the dynamic one). The full list of supported types and examples of typing violations it can now detect is on the announcement: https://elixir-lang.org/blog/2024/06/12/elixir-v1-17-0-released/ https://elixir-lang.org/blog/2024/06/12/elixir-v1-17-0-relea...
There is no support for type annotations, that comes in a later stage. The overall stages have been described in an earlier article (and I believe also in the paper): https://elixir-lang.org/blog/2023/06/22/type-system-updates-research-dev/ https://elixir-lang.org/blog/2023/06/22/type-system-updates-...