Fixed missing + sign in lambda section

This commit is contained in:
Torbjørn Marø 2014-06-21 12:10:34 +02:00
parent 9862212ed1
commit 760fee2ba8

View File

@ -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. ; Lambdas in Whip are declared with the `lambda` or `->` function.
; And functions are really just lambdas with names. ; 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) ; | | | returned value(with scope containing argument vars)
; | | arguments ; | | arguments
; | lambda declaration function ; | lambda declaration function