RosettaCodeData/Task/Ackermann-function/MLite/ackermann-function-2.mlite
2023-07-01 13:44:08 -04:00

5 lines
157 B
Text

fun jota x = map (fn x = x-1) ` iota x
fun test_tuples (x, y) = append_map (fn a = map (fn b = (b, a)) ` jota x) ` jota y
map ackermann (test_tuples(4,9))