Skip to content

Gleam

Spicy — senior dev territoryGeneral Dev

ELI5 — The Vibe Check

Gleam is the friendly functional language that runs on the BEAM (Erlang's VM) but with real types and great error messages. It's like Elixir went to TypeScript school and came back with a type system that actually helps.

Real Talk

A statically-typed functional programming language that compiles to Erlang (BEAM) and JavaScript. Gleam features type inference, exhaustive pattern matching, no null values, and leverages the BEAM's legendary concurrency and fault tolerance while providing compile-time type safety.

Show Me The Code

pub fn greet(name: String) -> String {
  "Hello, " <> name <> "!"
}

pub fn double_evens(numbers: List(Int)) -> List(Int) {
  numbers
  |> list.filter(fn(n) { n % 2 == 0 })
  |> list.map(fn(n) { n * 2 })
}

When You'll Hear This

"Gleam gives you BEAM reliability with actual type safety — it's the best of both worlds." / "The Gleam compiler has the friendliest error messages I've ever seen."

Made with passive-aggressive love by manoga.digital. Powered by Claude.