-- main.mcl -- import "fmt" $list = ["a",] for $index, $value in $list { $fn = func() { "hello " + $value } $s = $fn() test [$s,] {} } -- OUTPUT -- Vertex: test[hello a]