Sets supporting += for adding individual elements #3714
Labels
Area: Scripting
Complexity: Modest
A cup of tea and an evening (or two) with Zeek.
Implementation: Core
Implementation requires modification of the Zeek core
Priority: Low
Type: Enhancement
Currently if you have
S1: set[count]
andS2: set[count]
you can useS1 += S2
to add the elements ofS2
toS1
. I find myself expecting thatS1 += 5
ought to work too, equivalent toadd S1[5]
.This is clearly a minor syntactic issue, but I wanted to capture the notion.
The text was updated successfully, but these errors were encountered: