diff --git a/part1/Main.elm b/part1/Main.elm index c3d8605..56a2cad 100644 --- a/part1/Main.elm +++ b/part1/Main.elm @@ -2,7 +2,6 @@ module Main (..) where import Html exposing (..) import Html.Attributes exposing (..) -import Auth model = diff --git a/part1/README.md b/part1/README.md index 352bad4..114a212 100644 --- a/part1/README.md +++ b/part1/README.md @@ -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`) diff --git a/part2/Main.elm b/part2/Main.elm index 9ee8302..3fda197 100644 --- a/part2/Main.elm +++ b/part2/Main.elm @@ -2,7 +2,6 @@ module Main (..) where import Html exposing (..) import Html.Attributes exposing (..) -import Auth type alias Model = diff --git a/part2/README.md b/part2/README.md index 690e3ef..06bc153 100644 --- a/part2/README.md +++ b/part2/README.md @@ -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)