Am 14.07.2019 um 22:35 schrieb Allin Cottrell:
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)?
Almost forgot about this one - should I go ahead a put it on the
tracker, or has it already been changed?