intercalate package:jsaddle

O(n) The intercalate function takes a JSString and a list of JSStrings and concatenates the list after interspersing the first argument between each element of the list.
intercalate str strs inserts the stream str in between the streams strs and concatenates the result. Properties
intercalate s = concat . intersperse s