1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/closure.ans
2023-12-28 17:03:54 +01:00

12 lines
131 B
Text

:$ f(x)
$(y) x + y
:add two = f(2)
:add five = f(5)
|{add two(3)} = 5
|{add five(3)} = 8
|{add two(2)} = 4
|{add five(2)} = 7