summaryrefslogtreecommitdiffhomepage
path: root/haskell.html.markdown
diff options
context:
space:
mode:
authornoahlz <nzucker@gmail.com>2013-06-29 17:17:52 -0400
committernoahlz <nzucker@gmail.com>2013-06-29 17:17:52 -0400
commit7e4bd6d17e2003b0f5fd2fe6859c722a72c4acc3 (patch)
tree7656e9c967a935c44b6ae5b9e42866541cd92f7d /haskell.html.markdown
parentc3083760f6c5d6acb8bcd58b4d1980d0e4f97717 (diff)
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 563674c9..45cfb819 100644
--- a/haskell.html.markdown
+++ b/haskell.html.markdown
@@ -104,6 +104,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