☰
Debian Codegraph
@
0.0.26.git.2024.10.25.85e1d6c0e8-4
/
/
lang
/
interpret_test
/
TestAstFunc2
/
tricky-unification1.txtar
☽
☼
lang/interpret_test/TestAstFunc2/tricky-unification1.txtar
code
plain
raw
GPL-3.0
(C) 2013-2024, James Shubin and the project contributors
debian/copyright
1
-- main.mcl --
2
import "fmt"
3
$ints = [13, 42, 0, -37,]
4
$l int = len($ints) # return type is known statically!
5
$name = fmt.printf("len is: %d", $l)
6
test [$name,] {} # len is 4
7
-- OUTPUT --
8
Vertex: test[len is: 4]