Files
elm-0.19-workshop/part2/README.md
2016-04-03 19:30:14 -07:00

24 lines
554 B
Markdown

Part 2
======
## 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
* [Type Annotation syntax reference](http://elm-lang.org/docs/syntax#type-annotations)
* [`type alias` syntax reference](http://elm-lang.org/docs/syntax#type-aliases)
* [`List.map` documentation](http://package.elm-lang.org/packages/elm-lang/core/3.0.0/List#map)