summaryrefslogtreecommitdiffhomepage
path: root/elm.html.markdown
diff options
context:
space:
mode:
authorNemil Dalal <nemild@gmail.com>2018-01-26 19:12:00 -0500
committerGitHub <noreply@github.com>2018-01-26 19:12:00 -0500
commit23c11c9a73baa3e316b183a5b4baa1da90b733da (patch)
treea774242d80d1ec1f4491d9618d4b85067f25303b /elm.html.markdown
parent84881b3cda80339deb8102ed21fd7ab83b00ea75 (diff)
parentfce4a810cb066d6d83b829609ac15b08879cd1b0 (diff)
Merge branch 'master' into update-to-latest-solidity
Diffstat (limited to 'elm.html.markdown')
-rw-r--r--elm.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/elm.html.markdown b/elm.html.markdown
index 23ae9eeb..ad80adc9 100644
--- a/elm.html.markdown
+++ b/elm.html.markdown
@@ -72,8 +72,8 @@ List.head [] -- Nothing
-- Access the elements of a pair with the first and second functions.
-- (This is a shortcut; we'll come to the "real way" in a bit.)
-fst ("elm", 42) -- "elm"
-snd ("elm", 42) -- 42
+Tuple.first ("elm", 42) -- "elm"
+Tuple.second ("elm", 42) -- 42
-- The empty tuple, or "unit", is sometimes used as a placeholder.
-- It is the only value of its type, also called "Unit".