diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_debug_t_map.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_debug_t_map.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/js/scripting-lang/scratch_tests/test_debug_t_map.txt b/js/scripting-lang/scratch_tests/test_debug_t_map.txt new file mode 100644 index 0000000..f8ec8a9 --- /dev/null +++ b/js/scripting-lang/scratch_tests/test_debug_t_map.txt @@ -0,0 +1,21 @@ +/* Debug test for t.map */ + +/* Basic table creation */ +numbers : {1, 2, 3, 4, 5}; + +/* Test direct function call */ +double : x -> x * 2; + +/* Test t.map step by step */ +step1 : t.map; +step2 : step1 @double; +step3 : step2 numbers; + +/* Output results */ +..out "=== DEBUG T.MAP ==="; +..out "Step 1 (t.map):"; +..out step1; +..out "Step 2 (t.map @double):"; +..out step2; +..out "Step 3 (result numbers):"; +..out step3; \ No newline at end of file |