summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2014-06-21 10:40:54 -0500
committerLevi Bostian <levi.bostian@gmail.com>2014-06-21 10:40:54 -0500
commitec800a5d148b0b1ae0c301ab4ddb72f0d6b9dede (patch)
treed846281f25c156384cd828d498f284b0f0a4a92a
parent9862212ed15a4b28c946a7b00cd3624d00971b97 (diff)
parent760fee2ba8b8e6f235cc91c10686980341b6ff66 (diff)
Merge pull request #656 from tormaroe/patch-1
Fixed missing + sign in lambda section
-rw-r--r--whip.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/whip.html.markdown b/whip.html.markdown
index 3429ec24..dc5a0b39 100644
--- a/whip.html.markdown
+++ b/whip.html.markdown
@@ -153,8 +153,8 @@ undefined ; user to indicate a value that hasn't been set
; Lambdas in Whip are declared with the `lambda` or `->` function.
; And functions are really just lambdas with names.
-(def my_function (-> (x y) (+ (x y) 10)))
-; | | | |
+(def my_function (-> (x y) (+ (+ x y) 10)))
+; | | | |
; | | | returned value(with scope containing argument vars)
; | | arguments
; | lambda declaration function