How about:
(defvar concatOnce
(defthunk [x y] "${x} ${y}"))
(defvar joinAll
(defthunk [list ?at ?delim]
"${list[${
if at == "" then 0 else at
}]}${delim}${
joinAll
:list list
:at {at + 1)
:delim delim}"))
How about:
(defvar concatOnce
(defthunk [x y] "${x} ${y}"))
(defvar joinAll
(defthunk [list ?at ?delim]
"${list[${
if at == "" then 0 else at
}]}${delim}${
joinAll
:list list
:at {at + 1)
:delim delim}"))