Slang/tests/map.sl

8 lines
91 B
Plaintext

#| Slang `map' test. |#
void f(int x) = stdio.println(x)
main {
f.map([int: 1, 2, 3])
}