Skip to content(if available)orjump to list(if available)

Gleam v1.12.0 Released

Gleam v1.12.0 Released

3 comments

·August 6, 2025

Alupis

Some highlights from this release are listed here[1].

The best part of Gleam in my opinion is the language's design. It's just so elegant to read and write. Take this example code snippet from the release notes:

    pub fn find_book() -> Result(Book, LibraryError) {
      case ask_for_isbn() {
        Error(error) -> Error(error)
        Ok(isbn) -> load_book(isbn)
      }
    }

It's a trivial code snippet, but I'm finding this kind of "first class" pattern matching produces very readable, elegant-looking, well organized code.

There was a discussion the other day about the pipe operator being added to PHP 8.x. Gleam was my first language which included a pipe operator. Now, having used it a bit, I feel every language should have something like it.

    pub fn hello_test() {
      telephone.ring()
      |> should.equal("Hello, Joe!")
    }
The pipe skips so much boilerplate and clearly communicates intent. Absolutely love it.

[1] https://gleam.run/news/no-more-dependency-management-headach...

steve_adams_86

I'm so envious of this. In TypeScript I use ts-pattern and Effect Schema, and while they make this logic way nicer, it's insanely verbose and doesn't offer any of the niceties of being first class.

Alupis

I have not used it at all, but Gleam does have a javascript target in it's compiler/build-tool. So in theory, you can write Gleam (strongly typed, etc) and produce js.

I've exclusively used the BEAM/Erlang target so far - but the js community within Gleam seems quite interesting.