Elixir v1.20 released: now a gradually typed language
From Elixir v1.20, every program is now gradually type checked in search for verified bugs and typing violations.
This article explains how Elixir implements type inference and type narrowing using reverse arrows.
Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.
From Elixir v1.20, every program is now gradually type checked in search for verified bugs and typing violations.
This is a follow up to our batch of set-theoretic types optimizations, this time targeting differences.
This article explores the latest batch of optimizations we did to set-theoretic types and their representation.
Today we celebrate 15 years since Elixir's first commit! To mark the occasion, we are glad to announce the first release candidate for Elixir v1.20, which performs type inference of all language constructs, with increasing precision.
This article explores the data structures used to represent set-theoretic types and the recent optimizations we have applied to them.