-- main.mcl --
import "golang"
import "iter"

$lists = [[1, 2], [3, 4, 5], [6]]

$out = iter.flatten($lists)

$t = golang.template("out: {{ . }}", $out)

test "${t}" {}
-- OUTPUT --
Vertex: test[out: [1 2 3 4 5 6]]
