I forgot to plumb this in through the parser. Pretty easy to add, hopefully I didn't forget any weird corner scope cases here.
9 lines
130 B
Plaintext
9 lines
130 B
Plaintext
-- main.mcl --
|
|
$s = func($x) {
|
|
"hello" + $x
|
|
}("world") # inline lambda call
|
|
|
|
test [$s,] {}
|
|
-- OUTPUT --
|
|
Vertex: test[helloworld]
|