Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About this book

About the author

About the cover illustration

1. Getting started

Chapter 1. Welcome to Elm

1.1. How Elm fits in

1.2. Expressions

1.2.1. Using elm repl

1.2.2. Building expressions

1.2.3. Booleans and conditionals

1.3. Functions

1.3.1. Defining functions

1.3.2. Importing functions

1.3.3. Creating scope with let-expressions

1.3.4. Anonymous functions

1.3.5. Operators

1.4. Collections

1.4.1. Lists

1.4.2. Records

1.4.3. Tuples

Summary

Chapter 2. Your first Elm application

2.1. Rendering a page

2.1.1. Describing a page using the Html module

2.1.2. Building a project

2.2. Handling user input with The Elm Architecture

2.2.1. Representing application state with a model

2.2.2. Handling events with messages and updates

Summary

Chapter 3. Compiler as assistant

3.1. Documenting guarantees with type annotations

3.1.1. Adding optional type annotations