Gleam 1.5, the newest model of a statically typed language for the Erlang digital machine and JavaScript runtimes, has been printed, with productiveness enhancements reminiscent of upgraded compile-time error messages.
Launched September 19, Gleam 1.5 will be accessed from GitHub. With this launch, compile-time error messages for inexhaustive sample matching have been upgraded to indicate the unrivaled values utilizing the syntax the programmer would use of their code, respecting aliases and imports in modules. The change makes it simpler to know an error message. Lacking patterns will be copied from the error straight into the supply code.
Additionally with Gleam 1.5, implicit todo
formatting is featured. If builders write a use
expression with none extra code in that block, the compiler implicitly inserts a todo
expression. With this launch, the Gleam code formatter will insert the todo
to make it clearer what is occurring.