summaryrefslogtreecommitdiffhomepage
path: root/haskell.html.markdown
diff options
context:
space:
mode:
authorJacob Ward <jacobward1898@gmail.com>2015-10-31 20:27:51 -0600
committerJacob Ward <jacobward1898@gmail.com>2015-10-31 20:27:51 -0600
commit5d09566ee4881028cd53dee83ae27343beb8269d (patch)
treed5d48488f23e08690f1ec54610c9fe81e34d2fe8 /haskell.html.markdown
parent08b43e21f1a273d5ca471e0accdf46ba706a4cd5 (diff)
parentdbe6184519860e526432c4987a6f67d6c0acf38e (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