diff options
author | Shawn Zhang <shawnzhang009@gmail.com> | 2016-03-15 11:42:20 +0800 |
---|---|---|
committer | Shawn Zhang <shawnzhang009@gmail.com> | 2016-03-15 11:42:20 +0800 |
commit | b38a7645366b1580b5f554303e411447c7d2d09d (patch) | |
tree | cfe5c9e59fa1f3611a5b5545f9b2d74cbac461f2 /elm.html.markdown | |
parent | 072424afd77b9d772102f83508fcc337ffc81a7d (diff) | |
parent | fbe11b52d5fe839f791935012b93ff8ef2ac91f6 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'elm.html.markdown')
-rw-r--r-- | elm.html.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elm.html.markdown b/elm.html.markdown index 944ab770..fa10671f 100644 --- a/elm.html.markdown +++ b/elm.html.markdown @@ -85,7 +85,7 @@ snd ("elm", 42) -- 42 -- Access a field with a dot and the field name. { x = 3, y = 7 }.x -- 3 --- Or with an accessor fuction, which is a dot and the field name on its own. +-- Or with an accessor function, which is a dot and the field name on its own. .y { x = 3, y = 7 } -- 7 -- Update the fields of a record. (It must have the fields already.) @@ -309,7 +309,7 @@ import Graphics.Collage as C -- An incoming port is just a type signature. port clientID : Int --- An outgoing port has a defintion. +-- An outgoing port has a definition. port clientOrders : List String port clientOrders = ["Books", "Groceries", "Furniture"] @@ -342,7 +342,7 @@ $ elm package diff evancz/elm-html 3.0.0 4.0.2 ``` The Elm language is surprisingly small. You can now look through almost any Elm -source code and have a rough idea of what is going on. However, the possibilties +source code and have a rough idea of what is going on. However, the possibilities for error-resistant and easy-to-refactor code are endless! Here are some useful resources. |