A delightful language for reliable webapps
open sourceBSD-3-Clausefree
Elm is a functional language that compiles to JavaScript, for making websites and web apps with a strong emphasis on simplicity and quality tooling. Its compiler uses type inference to find invalid uses of values before the code runs, so Elm programs have no runtime errors in practice, and it explains problems in friendly error messages that guide refactoring. Every value is immutable; the Elm Architecture structures interactive apps, its virtual DOM generates fast JavaScript, and builds are optimised for small assets. Elm's package website, package.elm-lang.org, detects API changes through the type system and enforces semantic versioning on every package. Elm talks to JavaScript through flags, ports and custom elements. Release 0.19.3 (October 2026) upgraded the compiler's infrastructure with no language changes, as a step towards Elm 1.0.
Libraries for Elm
Talira doesn't list any yet.
Problems it solves
- a language for front-end web apps that never throw runtime exceptions in production
- refactor a large front-end codebase without fear of breaking it
- a purely functional language for the browser with helpful compiler error messages
- a typed alternative to JavaScript frameworks with a simple, fixed app architecture
- packages whose versions can't break my build with a hidden API change
Features
- compiles to JavaScript
- type inference with no runtime exceptions in practice
- friendly compiler error messages
- immutable values and the Elm Architecture for interactive apps
- a fast virtual DOM
- enforced semantic versioning for every package
- small assets with optimised builds
- JavaScript interop through flags, ports and custom elements
Alternatives
The same job
These do what Elm does.
- Roc A fast, friendly, functional language
- TypeScript JavaScript with static types, compiled to plain JavaScript
- ReScript A robustly typed language that compiles to efficient, human-readable JavaScript
- Gleam A friendly language for building type-safe systems that scale
- Haskell Enjoy long-term maintainable software you can rely on
- Unison A friendly programming language from the future