-- main.mcl -- import "fmt" $list = ["a", "b", "c",] for $index, $value in $list { test [$value,] {} } -- OUTPUT -- Vertex: test[a] Vertex: test[b] Vertex: test[c]