Files
mgmt/lang/interpret_test/TestAstFunc2/func-nested1.mcl
2025-01-26 19:48:17 -05:00

13 lines
181 B
Plaintext

-- main.mcl --
$lambda = func($x) {
func($f, $arg) {
$f($arg)
}(func($z) { "hello" + $x }, "nope")
}
$s = $lambda("world")
test [$s,] {}
-- OUTPUT --
Vertex: test[helloworld]