Skip to content

Better set operations #2

@cvogt

Description

@cvogt

currently there is & which is a union operator on the key value pairs. The default should probably rather be a disjoint union that throws a type error in case of overlap.

Overview of useful operators that should be implemented

  • Union, rhs fields replace lhs fields (currently implemented as &)
  • Disjoint Union, e.g. |
  • Intersection, e.g. &
  • Minus, e.g. r \ (select field1 & field2) or r(remove field1 & field2) or
  • Recursive Union, struct fields merge, non-struct fields replace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions