Get the latest tech news
Gleam v1.10.0 Released
Gleam v1.10.0 released
Giacomo Cavalieri has spent the time since the previous release studying the academic literature on the complex subject of exhaustiveness checking to bring a variety of improvements to our implementation. Gleam's development philosophy is to use static analysis, editor tooling, and other forms of computer assistance to reduce the mental load for the programmer as much as possible. With the previous design if the data type definition was edited the programmer would have to remember about the existance of the JSON encoder, making it possible to forget and accidentally introduce a bug.
Or read this on Hacker News