Skip to content

badlydrawnrob/elm-playground

Repository files navigation

README

Why do we need types? It's best illustrated by the old joke:

A programmer's wife told him "Go to the store and buy milk and if they have eggs, get a dozen." He came back a while later with 12 cartons of milk!

A testing ground for all things Elm. There's plenty of javascript guides out there, so this only covers functional programming in the style of Elm. Also see "Lazy Loading of Anki Cards" for revision.

Basic commands

# Initialise an Elm project
elm init

# Install a package
elm install elm/<package>

# Make a HTML file from an Elm one
elm make src/Main.elm

# Compile to javascript file
elm make src/Main.elm --output=app.js

# View in the browser
elm reactor

Some useful docs

Online courses

Helpful talks

  1. Life of a file
  2. Teaching Elm to beginners
  3. Scaling Elm apps
  4. Making impossible states possible1
  5. Make data structures
  6. From Rails to Elm and Haskell

Books

Some tools

Some helpful FAQs

Some nice examples

Documentation

Footnotes

  1. All (or most) of Richard Feldmans talks

About

A repo for Elm tutorials, projects and tests

Resources

Stars

Watchers

Forks

Packages

No packages published