List of Figures
Chapter 1. Welcome to Elm
Figure 1.1. Elm files are compiled to plain old JavaScript files.
Figure 1.2. Comparing an Elm if-expression to a JavaScript ternary
Figure 1.3. The else-if technique: use an if-expression as the else branch of another if-expression.
Figure 1.4. Using String.filter to remove dashes from a US phone number
Figure 1.5. Anatomy of the wild let-expression
Figure 1.6. Calling the - operator in both infix style and prefix style
Figure 1.7. (==) gets evaluated after (+) and (-) because it has lower precedence.
Chapter 2. Your first Elm application
Figure 2.1. Intermingling element DOM nodes and text nodes
Figure 2.2. Representing a button using HTML markup (top) and Elm’s node function (bottom)
Get Elm in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.