Learn extra at:
Gleam 1.10, a brand new launch of the type-safe programming language for the Erlang digital machine and JavaScript runtimes, is now obtainable. The replace options compiler enhancements centering on holding extra info and enhancing exhaustive evaluation. Quicker execution of JavaScript code is also highlighted.
Gleam 1.10 was launched April 14; it’s accessible on GitHub.
The compiler on this launch retains extra details about varieties and values and the way they reference one another in Gleam packages, in keeping with a weblog posted by Gleam creator Louis Pilfold. This permits the language server included within the Gleam binary to supply a “discover references” characteristic that allows builders to seek out the place a sort or worth is utilized in a venture. Additionally, the extra info has been used to enhance the “rename” language server characteristic. Previous to this, solely module-local varieties and values may very well be renamed. With the development, renaming could be carried out throughout all venture modules. Gleam’s builders even have improved the compiler’s unused-code detection, repairing some conditions by which the compiler would fail in detecting the entire unused code.