summaryrefslogtreecommitdiffhomepage
path: root/haskell.html.markdown
diff options
context:
space:
mode:
authorCY Lim <cylim@CYs-Macbook-2015.local>2015-11-02 11:18:19 +1100
committerCY Lim <cylim@CYs-Macbook-2015.local>2015-11-02 11:18:19 +1100
commit094761f6936e9fbe625a9175a6404e2dca7d6504 (patch)
tree0999371c1f48011acdfabe8eb3b0e01760833e06 /haskell.html.markdown
parent44ca091c73afe13ec8760021cfed1d77afc5e4a5 (diff)
parent463cec82d08a58c6452b5b2beec5ee3b99e33ba6 (diff)
Merge remote-tracking branch 'adambard/master'
Diffstat (limited to 'haskell.html.markdown')
-rw-r--r--haskell.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell.html.markdown b/haskell.html.markdown
index 08611e63..936744a0 100644
--- a/haskell.html.markdown
+++ b/haskell.html.markdown
@@ -81,7 +81,7 @@ not False -- True
[5,4..1] -- [5, 4, 3, 2, 1]
-- indexing into a list
-[0..] !! 5 -- 5
+[1..10] !! 3 -- 4
-- You can also have infinite lists in Haskell!
[1..] -- a list of all the natural numbers