Elm projects to learn Elm language
elm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
alfred 96969f0a64 Finish example 05 1 month ago
00.button Start repository adding the first project: Button 1 month ago
01.buttons Add buttons project 1 month ago
02.simple.todos Add simple todos project 1 month ago
03.make Add JS interaction 1 month ago
04.js-interact Add JS interaction 1 month ago
05.app Finish example 05 1 month ago
docker Start example 05 1 month ago
.gitignore Start repository adding the first project: Button 1 month ago
README.md Add JS interaction 1 month ago
boilerplate.elm Start example 05 1 month ago

README.md

Learning Elm

This is a series of little projects to learn Elm language. You can launch them going to their folder and executing:

$ elm reactor

If you need to build a project (like 03 or 04) to inject it into an html document:

$ elm make src/Main.elm --output compiled/main.js

Projects

  • 00.button: It shows how to manage a button. There are several buttons which send messages to the update function.
  • 01.buttons: It shows how to interact with complex models, inputs, and parametrized messages.
  • 02.simple.todos: It shows how to interact with lists and make a bit more complex code.
  • 03.make: It shows how to create an Elm application. It will take the whole document.

Hints

To start a new project: create the folder and execute elm init.