about summary refs log tree commit diff stats
path: root/js/scripting-lang/scratch_tests/test_table_enhancements_minimal.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_table_enhancements_minimal.txt')
-rw-r--r--js/scripting-lang/scratch_tests/test_table_enhancements_minimal.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/scripting-lang/scratch_tests/test_table_enhancements_minimal.txt b/js/scripting-lang/scratch_tests/test_table_enhancements_minimal.txt
new file mode 100644
index 0000000..d8d4e02
--- /dev/null
+++ b/js/scripting-lang/scratch_tests/test_table_enhancements_minimal.txt
@@ -0,0 +1,18 @@
+/* Minimal test for table enhancements */
+
+/* Basic table creation */
+numbers : {1, 2, 3, 4, 5};
+
+/* Test enhanced map */
+double : x -> x * 2;
+doubled : map @double numbers;
+
+/* Test t.map */
+t_doubled : t.map @double numbers;
+
+/* Output results */
+..out "=== MINIMAL TABLE ENHANCEMENTS ===";
+..out "Enhanced map:";
+..out doubled;
+..out "t.map:";
+..out t_doubled; 
\ No newline at end of file