Elixir v1.20 introduces gradual type checking with set-theoretic types
By
José Valim
19d ago· 8 min readenNews
Summary
Elixir v1.20 has been released, marking a major milestone in the language's evolution by introducing gradual type checking and type inference for all Elixir programs without requiring type annotations. This development builds on years of research into set-theoretic types, transitioning from academic research to practical implementation. The new type system can detect dead code and verified bugs—typing violations guaranteed to fail at runtime—in existing codebases.
Source
Key quotes
· 3 pulledWith Elixir v1.20, we have completed our first development milestone which is to perform type inference and gradually type check every Elixir program, without introducing type annotations.
Elixir increasingly reports dead code and verified bugs: typing violations that are guaranteed to fail at runtime if executed.
Elixir can find verified bugs in existing programs.
From Elixir v1.20, every program is now gradually type checked in search for verified bugs and typing violations.
You might also wanna read
Comments
Sign in to join the conversation.
No comments yet. Be the first.
