-- main.mcl --
import "fmt"

$list = ["a", "b", "c",]

$word = "hello"

for $index, $value in $list {

	class foo($x) {
		$result = $word + $val
	}
	include foo("whatever") as included

	$val = " " + $value

	$s = fmt.printf("%s is %d", $included.result, $index)
	test [$s,] {}
}

-- OUTPUT --
Vertex: test[hello a is 0]
Vertex: test[hello b is 1]
Vertex: test[hello c is 2]
