python-plus-plus/ppp/dict.ppp
germax26 66cd54e532
Move .ppp files into ppp/ directory
I plan to make a few changes to my language, and I will then update
these files later. I am moving them because I don't want them
polluting the main directory. I probably should have done this to
begin with, but better late than never.
2024-08-11 11:35:49 +10:00

12 lines
187 B
Plaintext

func doubles(a: int) -> int -> int {
assert a == 2;
func doubler(b: int) -> int {
return b*2+a;
}
return doubler;
}
doubler_: int -> int = doubles(2);
debug_print(doubler_("5"));