about summary refs log tree commit diff stats
path: root/js/scripting-lang/scratch_tests/test_func_pattern.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_func_pattern.txt')
-rw-r--r--js/scripting-lang/scratch_tests/test_func_pattern.txt11
1 files changed, 0 insertions, 11 deletions
diff --git a/js/scripting-lang/scratch_tests/test_func_pattern.txt b/js/scripting-lang/scratch_tests/test_func_pattern.txt
deleted file mode 100644
index 23f2888..0000000
--- a/js/scripting-lang/scratch_tests/test_func_pattern.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-/* Test function calls in patterns */
-is_even : n -> n % 2 = 0;
-
-test_func_pattern : n ->
-  when n is
-    (is_even n) then "function call result"
-    4 then "four"
-    _ then "other";
-
-result : test_func_pattern 4;
-..out result; 
\ No newline at end of file