Gleam v1.13.0 introduces formalized external APIs for JavaScript interop, allowing safer integration with external code through dedicated functions for constructing and accessing Gleam data types. The release includes significant compiler improvements: enhanced bit array exhaustiveness checking with interference-based pruning,
•25m read time• From gleam.run
Table of contents
External API for Gleam dataImproved bit array exhaustiveness checkingUnused argument detectionBetter meaningless opaque type errorMore fault toleranceRedundant pattern alias warningMore inefficient list check warningsA helpful syntax error for JavaScriptersA helpful error for Rustaceans, C#ers, and friendsA helpful syntax error for Pythonistas, Elixirists, and friendsDisplaying dependency version informationhex owner transferImproved type displayingImproved type naming in code actionsTangled supportFurther language server supportRemove unreachable clauses code actionPattern match on value code action improvementsCollapse nested case expressions code actionAdd omitted labels code actionInter-module generate function code actionExtract function code actionFormatter improvementsAnd the restA call for support1 Comment
Sort: