aboutsummaryrefslogtreecommitdiff
path: root/examples/strict.fusp
diff options
context:
space:
mode:
authorCamil Staps2016-09-24 14:57:17 +0200
committerCamil Staps2016-09-24 14:57:49 +0200
commit11a550753ae31714fb4618c2cf6d2acd5e7ae712 (patch)
tree6e053f97c3ecbb34e8b6b537934a5e96bae9c227 /examples/strict.fusp
parentFix memory leak with code (diff)
Removed strictness
Diffstat (limited to 'examples/strict.fusp')
-rw-r--r--examples/strict.fusp10
1 files changed, 0 insertions, 10 deletions
diff --git a/examples/strict.fusp b/examples/strict.fusp
deleted file mode 100644
index 5795112..0000000
--- a/examples/strict.fusp
+++ /dev/null
@@ -1,10 +0,0 @@
-sub a b = code sub a b;
-
-take 0 _ = [];
-take _ [] = [];
-take n ![x:xs] = [x:take (sub 1 n) xs];
-
-repeat 0 x = [];
-repeat n x = [x:repeat (sub 1 n) x];
-
-main = take 1 (repeat 200 5);