News for hackers. Stuff that matters.
Re:Gleam v1.12.0 Released by debugnik on Wednesday August 06, 2025 @04:04PM (#44817029)
That's what Gleam's use expressions[1] are for (the last example is exactly this case). Most languages with the same heritage as Gleam have grown a similar syntactical feature, such as OCaml's binding operators or F#'s computation expressions. Although I appreciate how simple Gleam's is while having similar power.

[1]: https://gleam.run/news/v0.25-introducing-use-expressions/

There are no comments on this comment yet.