25 lines
649 B
Markdown
25 lines
649 B
Markdown
Part 6
|
|
======
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
elm package install
|
|
```
|
|
|
|
(Answer `y` at the prompt. In rare cases a known issue can cause the download
|
|
to fail; in that case, just run `elm package install` again.)
|
|
|
|
## Building
|
|
|
|
```bash
|
|
elm live Main.elm --open -- --output=elm.js
|
|
```
|
|
|
|
## References
|
|
|
|
* [HTTP Tasks tutorial](http://elm-lang.org/guide/reactivity#http-tasks)
|
|
* [HTTP Error documentation](http://package.elm-lang.org/packages/evancz/elm-http/3.0.0/Http#Error)
|
|
* [Modules syntax reference](http://elm-lang.org/docs/syntax#modules)
|
|
* [Syntax reference for **case-expressions** and **if-expressions**](http://elm-lang.org/docs/syntax#conditionals)
|