27 lines
753 B
Markdown
27 lines
753 B
Markdown
Part 2
|
|
======
|
|
|
|
The instructor will paste notes from the lesson, including code examples from
|
|
Q&A, in [this document](https://docs.google.com/document/d/1ApuSOk9DP0YsQrxhW7-WE8UOEAV4PPnLDDeqUOL2o5k/edit?usp=sharing).
|
|
|
|
## 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)
|