1 min read 42 words Updated Sep 24, 2026 Created Sep 24, 2026
#gleam

An overview of special behaviour in Gleam.

Re-creating variables

We can assign the same variables again without error.

pub fn main() -> Nil {

  let name = "Max"

  io.println(name)

  let name = "updated"

  io.println(name)
}

Constants vs. variables