Files
IPS_G-assignment/fasto/tests/reduce.fo
NikolajDanger 642fcbd636 fasto unzipped
2022-05-04 10:40:19 +02:00

6 lines
104 B
Plaintext

fun int incr(int a, int b) = a + b
fun int main() =
let n = reduce(incr, 0, {1, 2, 3}) in
write(n)