I have a vector like [["H"] ["B"] ["ER"] ["W"]] and I need a shape vector [["H"] ["B"] ["E"] [" R "] [" W "]] with the natural separation of E and R.
I am very familiar with the map (and reduce) and use them a lot, but for some reason I can’t figure out how easy it is to use the map.
Is it possible to display two or more elements for each input they enter from a sequence? If so, how?
source
share