On Sun, 14 Jul 2019, Sven Schreiber wrote:
about the new 'flatten' function: For the case of string arrays I think
it would be good to have some choice about the separator. Currently a
newline (\n) is inserted after each string, which is reasonable.
However, there's an unused argument ('vcat') which could be used to
choose for example a blank (" ") instead. An alternative would be to
introduce another optional argument where the user could specify the
string for joining (or separating) the input strings.
This would be useful if the input array actually holds textual
representations of numbers, which can then be processed with sscanf.
Both alternatives would be backwards compatible, but flatten is so new
that that's not very important I guess.
Yes, might be worthwhile. The boolean "vcat" argument could be
renamed and made to use space for strings. (I'm less keen on
making it type-mutable to accept any separator.)
Want to file a feature request (given that this is not going to
acted upon right away)?