diff options
Diffstat (limited to 'samples/factorial.gpn')
-rw-r--r-- | samples/factorial.gpn | 2 |
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) |