about summary refs log tree commit diff stats
path: root/js/scripting-lang/scratch_tests/test_simple_when.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_simple_when.txt')
-rw-r--r--js/scripting-lang/scratch_tests/test_simple_when.txt9
1 files changed, 0 insertions, 9 deletions
diff --git a/js/scripting-lang/scratch_tests/test_simple_when.txt b/js/scripting-lang/scratch_tests/test_simple_when.txt
deleted file mode 100644
index 0b1154f..0000000
--- a/js/scripting-lang/scratch_tests/test_simple_when.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-/* Simple when expression test */
-
-factorial : n -> 
-  when n is
-    0 then 1
-    _ then n * (factorial (n - 1));
-
-result : factorial 5;
-..out result; 
\ No newline at end of file