1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-06-26 06:29:28 +00:00

Clean up lambda example

This commit is contained in:
David Schmenk 2017-08-03 07:33:08 -07:00 committed by GitHub
parent e23d45f34d
commit 76038502c8

View File

@ -1042,8 +1042,12 @@ A Lambda function is a simple, anonymous function that can be passed to a functi
```
def whatop(a, b, op)
puti(a); puts(" ? "); puti(b); puts(" = ")
puti(op(a, b); putln
puti(a)
puts(" ? ")
puti(b)
puts(" = ")
puti(op(a, b))
putln
end
def lambdas