1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-08-20 00:29:04 +00:00

Add lambda tests

This commit is contained in:
David Schmenk 2017-08-02 20:23:26 -07:00
parent 64fe1b2e70
commit 4910f18661

View File

@ -116,8 +116,8 @@ export def main(range)
putc('?')
wend
putln
printfunc(1, 2, &(a,b)a+b)
printfunc(1, 2, &(a,b)(a-b))
printfunc(1, 2, &(a,b) a+b)
printfunc(1, 2, &(a,b) (a-b))
lambda = &(x,y) x * y
puti(lambda(2,3));putln
end