← All repos

guide.elm-lang.org

My book introducing you to Elm!

bookelmguidetutorial
Browse cluster: Elm Language & Ecosystem
1,083commits
68contributors
5languages

Tech stack & purpose

This is the official guide to Elm, a functional language that compiles to JavaScript for building websites and web applications. The guide teaches users the fundamentals of Elm programming, starting with The Elm Architecture—a pattern for structuring interactive programs through three core concepts: Model (application state), View (rendering state to HTML), and Update (handling state changes based on messages). The material covers essential topics including types and type inference, error handling through custom types and the Result and Maybe types, commands and subscriptions for interacting with external systems like servers and APIs, JavaScript interoperability through flags and ports, and optimization techniques for both performance and asset size. All examples are built with Elm's standard libraries including elm/html, elm/http, elm/json, elm/random, and elm/time, and demonstrate how to use the Browser.sandbox, Browser.element, and Browser.document APIs for different application needs.

Languages

Elm
80.3%
CSS
8.7%
Shell
7.5%
JavaScript
2.2%
HTML
1.2%

Contributors (top 30 of 68)