summaryrefslogtreecommitdiffhomepage
path: root/haskell.html.markdown
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-06-30 14:52:21 -0700
committerAdam Bard <github@adambard.com>2013-06-30 14:52:21 -0700
commitf7cd75c31bbca713cc66b3b46568472a2a1665fd (patch)
treef96a9d4846a7fc9bf381e3e6d75030b3abb83b73 /haskell.html.markdown
parentbc0f1fca6c5f248257993e7bc80bf2d54652b7aa (diff)
parent7e4bd6d17e2003b0f5fd2fe6859c722a72c4acc3 (diff)
Merge pull request #51 from noahlz/master
Fix issue #50
Diffstat (limited to 'haskell.html.markdown')
-rw-r--r--haskell.html.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/haskell.html.markdown b/haskell.html.markdown
index 2437ceed..f3baa9a5 100644
--- a/haskell.html.markdown
+++ b/haskell.html.markdown
@@ -120,6 +120,10 @@ snd ("haskell", 1) -- 1
-- A simple function that takes two variables
add a b = a + b
+-- Note that if you are using ghci (the Haskell interpreter)
+-- You'll need to use `let`, i.e.
+-- let add a b = a + b
+
-- Using the function
add 1 2 -- 3