Am 10.01.2021 um 09:39 schrieb Artur Tarassow:
Am 10.01.21 um 08:34 schrieb Marcin Błażejowski:
> On 09.01.2021 23:47, Allin Cottrell wrote:
>> On Sat, 9 Jan 2021, Artur Tarassow wrote:
>>
>>> by chance I've found the following behavior -- which may be a bug --
>>> when augmenting an empty bundles with a bundle where the value is a
>>> string array "directly passed". This is with latest git on Ubuntu
>>> 20.04.
>> [...]
>>>
>>> # fails
>>> bundles B = null
>>> B = B + _(value = defarray("A", "B", "C"))
>
> Hm, is the statement like '_(value = defarray("A", "B",
"C"))'
> documented? I didn't know it and I'd like to read about it.
Hi Marcin,
do you mean the new syntax for creating a bundle, namely "_()"? That was
recently introduced as a secret function first. But actually I thought
it's already an official syntax but I cannot find it in the changelog.
It is documented in the function reference entry for defbundle (but not
in the guide AFAICS).
The fact that it was "secret" at first also explains why it never made
it into the changelog (but it probably should).
Note that it's just syntactic sugar, you can do everything already with
defbundle. But still very nice of course!
cheers
sven