aboutsummaryrefslogtreecommitdiffstats
path: root/samples/sample1.tunk
diff options
context:
space:
mode:
Diffstat (limited to 'samples/sample1.tunk')
-rw-r--r--samples/sample1.tunk15
1 files changed, 0 insertions, 15 deletions
diff --git a/samples/sample1.tunk b/samples/sample1.tunk
deleted file mode 100644
index 26e934d..0000000
--- a/samples/sample1.tunk
+++ /dev/null
@@ -1,15 +0,0 @@
-rec n = triangle (int.sub n 1);
-triangle n = int.eq? n 1
- 1
- (int.add
- n
- (rec n));
-
-triangle 500;
-
-# factorial n =
-# int.eq? n 0
-# 1
-# (int.mul n (factorial (int.sub n 1)));
-
-# factorial 20; \ No newline at end of file