Comments
function1 [str1 str2]:
string (join " " [str1 str2])
(print string)
;
function2 [list]:
string (join " " list)
(print string)
;
(function1 "foo" "bar")
a-list ['abc' 'def']
# Define a-list
a-list ['abc' 'def']
/* the following combines each item in a-list with a space, and prints them */
(function2 a-list)
/* the following combines each item in ['foo' 'bar'] with a space, and prints them */
(function2 ['foo' 'bar'])
- (foo bar baz) is a list, calling the function FOO with args BAR and BAZ
- [foo bar baz] is a list, treated purely as data, like (quote (foo bar baz)) in Common Lisp.