diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_pipe_function.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_pipe_function.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/scripting-lang/scratch_tests/test_pipe_function.txt b/js/scripting-lang/scratch_tests/test_pipe_function.txt new file mode 100644 index 0000000..3842a86 --- /dev/null +++ b/js/scripting-lang/scratch_tests/test_pipe_function.txt @@ -0,0 +1,8 @@ +/* Test pipe function */ + +f : x -> x * 2; +g : x -> x + 1; + +/* Test pipe function */ +result : pipe(f, g) 5; +..out result; \ No newline at end of file |