Add references and clean up parts 1 and 2
This commit is contained in:
@@ -2,7 +2,6 @@ module Main (..) where
|
||||
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
import Auth
|
||||
|
||||
|
||||
model =
|
||||
|
||||
@@ -15,3 +15,8 @@ to fail; in that case, just run `elm package install` again.)
|
||||
```bash
|
||||
elm live Main.elm --open -- --output=elm.js
|
||||
```
|
||||
|
||||
## References
|
||||
* [html-to-elm](http://mbylstra.github.io/html-to-elm/) - paste in HTML, get elm-html code
|
||||
* [elm-html documentation](http://package.elm-lang.org/packages/evancz/elm-html/4.0.2/)
|
||||
* [record syntax](http://elm-lang.org/docs/syntax#records) (e.g. `{ foo = 1, bar = 2`)
|
||||
|
||||
@@ -2,7 +2,6 @@ module Main (..) where
|
||||
|
||||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
import Auth
|
||||
|
||||
|
||||
type alias Model =
|
||||
|
||||
@@ -15,3 +15,9 @@ to fail; in that case, just run `elm package install` again.)
|
||||
```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)
|
||||
|
||||
Reference in New Issue
Block a user