diff options
author | Torbjørn Marø <torbjorn.maro@gmail.com> | 2014-06-21 12:10:34 +0200 |
---|---|---|
committer | Torbjørn Marø <torbjorn.maro@gmail.com> | 2014-06-21 12:10:34 +0200 |
commit | 760fee2ba8b8e6f235cc91c10686980341b6ff66 (patch) | |
tree | d846281f25c156384cd828d498f284b0f0a4a92a /whip.html.markdown | |
parent | 9862212ed15a4b28c946a7b00cd3624d00971b97 (diff) |
Fixed missing + sign in lambda section
Diffstat (limited to 'whip.html.markdown')
-rw-r--r-- | whip.html.markdown | 4 |
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 |