Fixed compile script, factorial.flup implemented

This commit is contained in:
vegowotenks 2024-10-08 23:24:47 +02:00
parent aec860a6b8
commit 5313cc5603
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,6 @@
factorial: int n -> int
| n 0 == -> 1
| 1 -> n 1 - factorial n * duplicate println
;
25 factorial