Write laws in Erlang/Elixir, prove them in Lean, and have them verified against your actual code. We have used it to prove that Erlang's json implementation roundtrips, that Elixir's Task functions do not leave trailing messages in your inbox, and to uncover bugs in Elixir's type system.
When fine-tuning a type system for precision, we often have to make trade-offs between simplicity and expressiveness in its design. The goal of this article is to explore these trade-offs.
Adding a type system to an existing dynamic language is a great exercise in showing all of the different ways type systems restrict the expressive power of programming languages. In this article, we will discuss one of said examples by exploring a potential `Map.take!/2` function as part of Elixir's standard library.
A recent study by Tencent showed that Elixir had the highest completion rate across models when compared among 20 different programming languages. In this article, we explore the reasons why that may be the case and how that extrapolates to coding agents.
-
José Valim
-
February 19th, 2025
-
elixir
Dashbit announces expansion of its subscription team and their open source goals for 2025
We explore how set-theoretic types could address how many statically typed languages do not allow libraries to evolve their public data definitions in a backwards compatible manner. The proposed solution aims to be automatically verified by the compiler and type safe.