Installing Elm on Ubuntu 14.04
Elm is a functional programming language for the web.
Elm lets you write programs in a simple functional language and it compiles to html
, javascript
and CSS
. This sounded like a cool way to learn about FRP (Functional Reactive Programming), so I decided to give it a try.
Because it’s a young language (the thesis which gave it birth was in 2012) it’s evolving fast, so dependencies and syntax are still changing.
Installation
We want to install the Elm-Platform which comes with all the tools to get started:
- elm-compiler: emm…. The compiler.
-
elm-make: Command line tool to turn your
.elm
files into.html
,.js
and.css
files. - elm-reactor: This loads an interactive editor on the browser to evaluate and hot-swap code.
- elm-repl: a Read Eval Print Loop to play around with the language and explore libraries.
- elm-package: the package manager, to install/uninstall community packages. ...