Debian Codegraph @

lang/interpret_test/TestAstFunc2/simple-conditional-scoped-lambda-call-args-very-ooo.txtar

raw
1 -- main.mcl --
2 # very out of order
3 $funcgen1 = func() {
4 func($b) {
5 "hello" + $b
6 }
7 }
8 test "${out}" {}
9 $out = $fn("wide")
10 $fn = if $some_bool {
11 $funcgen1()
12 } else {
13 $funcgen2()
14 }
15 $some_bool = false
16 $funcgen2 = func() {
17 func($bb) {
18 "world" + $bb
19 }
20 }
21 -- OUTPUT --
22 Vertex: test[worldwide]