O'Reilly logo

Programming Elm by Jeremy Fairbank

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Build a Static App

Great work so far! You’ve learned two foundational Elm concepts—functions and static types. You’re now ready to bring those concepts together to create your first application. In this section, you will learn about the list data type and use lists to create HTML elements with the Html module. By the end, you will have a cool photo sharing application to show off.

Create Collections with Lists

So far, you’ve worked with single data values such as strings and numbers. In Elm applications, you’ll typically want to represent collections of data values, too. For example, to actually display an application, you’ll need to represent multiple HTML elements. Elm lets you represent collections with the list data type. To create a list, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required