chickadee » fmt » fmt-join

fmt-join <formatter> <list> #!optional <sep>procedure

Formats each element <elt> of <list> with (<formatter> <elt>), inserting <sep> in between. <sep> defaults to the empty string, but can be any format.

(fmt #f (fmt-join dsp '(a b c) ", "))

=> "a, b, c"