Files
Toy/scripts/small.toy
2023-02-09 12:37:18 +00:00

7 lines
104 B
Plaintext

import compound;
var arr: [int] = [1, 2, 3];
fn f(_, v: int): int { return v + 1; }
print arr.map(f);