☰
Debian Codegraph
@
0.0.26.git.2024.10.25.85e1d6c0e8-4
/
/
lang
/
interpret_test
/
TestAstFunc2
/
chained-returned-funcs.txtar
☽
☼
lang/interpret_test/TestAstFunc2/chained-returned-funcs.txtar
code
plain
raw
GPL-3.0
(C) 2013-2024, James Shubin and the project contributors
debian/copyright
1
-- main.mcl --
2
func funcgen() {
3
func() {
4
func() {
5
"hello"
6
}
7
}
8
}
9
10
$fn1 = funcgen()
11
$fn2 = $fn1()
12
$out = $fn2()
13
14
test "${out}" {}
15
-- OUTPUT --
16
Vertex: test[hello]