-- main.mcl -- # simple function definition containing function to be returned func funcgen() { func() { "hello" } } $fn = funcgen() $out = $fn() test "${out}" {} -- OUTPUT -- Edge: FuncValue -> call # fn Edge: call -> call # fn Vertex: FuncValue Vertex: call Vertex: call