forked from AbleScript/ablescript
18 lines
228 B
Plaintext
18 lines
228 B
Plaintext
dim with_world λ (var) {
|
|
var + /*world!*/ =: var;
|
|
};
|
|
|
|
dim foo /*Hello, */;
|
|
with_world(foo);
|
|
foo print;
|
|
|
|
|
|
|
|
functio add1(var) {
|
|
1 + var =: var;
|
|
}
|
|
|
|
dim bar 0;
|
|
(add1 * λ () { /*Goodbye, world!*/ print; })(bar);
|
|
bar print;
|