Open verdverm opened 2 years ago
Set operators on structs could be useful.
Extending them to lists could prove difficult, particularly lists of structs (which are difficult for all operations). Lists of basics could be done with a package (Go generics helpful here?).
(taken from https://github.com/cue-lang/cue/issues/454)
union & intersection seem to have overlap with insert/upsert & pick respectively
maybe super/subset could be called contains/containedby?
Set operators on structs could be useful.
Extending them to lists could prove difficult, particularly lists of structs (which are difficult for all operations). Lists of basics could be done with a package (Go generics helpful here?).
(taken from https://github.com/cue-lang/cue/issues/454)