Closed justin2004 closed 2 years ago
oh i just noticed that "Join elements of vector Yv with separator Xs" exists with same result.
maybe it just needs to be tagged with these terms? i kind of like the reduction implementation as well though because it "looks" like the result.
I've added those two keywords.
While the reduction is elegant, it is also hugely inefficient.
Suggested additional code entry
Clojure has an interpose function. Haskell calls it intersperse.