aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMarvin Borner2024-05-31 20:25:55 +0200
committerMarvin Borner2024-05-31 20:25:55 +0200
commit2b3ad64a77cef506b5151e8f18eae77fd051b605 (patch)
treef3304b8105c1ae522531c4558a8f3787e12ae7b4 /samples
parent281e998f734b5542808d62db5aba71901a34ec7a (diff)
Switch to normal order (and more)
Diffstat (limited to 'samples')
-rw-r--r--samples/factorial.gpn2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/factorial.gpn b/samples/factorial.gpn
new file mode 100644
index 0000000..46201e4
--- /dev/null
+++ b/samples/factorial.gpn
@@ -0,0 +1,2 @@
+FAC = (Y \f.\n.(((ZERO n) 1) ((MUL n) (f (PRED n)))))
+MAIN = (FAC 3)