Merge pull request #656 from tormaroe/patch-1

Fixed missing + sign in lambda section
This commit is contained in:
Levi Bostian 2014-06-21 10:40:54 -05:00
commit ec800a5d14

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.
; 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