-- main.mcl -- import "fmt" $map = {0 => "a", 1 => "b", 2 => "c",} $val = 42 # should be out of scope (also not the same type) forkv $key, $val in $map { $s = fmt.printf("%s is %d", $val, $key) test [$s,] {} } -- OUTPUT -- Vertex: test[a is 0] Vertex: test[b is 1] Vertex: test[c is 2]