Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
feat: clearer aliases for event filter boolean operators
Merged liw opened 1 year ago

The boolean operators “And”, “Or”, and “Not”, all take a list of filter expressions as operands. In normal boolean logic they take two or one, and the list case can be a little confusing to read. Introduce aliases “AllOf”, “AnyOf”, and “NoneOf”. These are merely aliases for the operators, with the exact same semantics.

Signed-off-by: Lars Wirzenius liw@liw.fi

liw opened with revision 96c477d4 on base 623e590c +3 -0 1 year ago

The boolean operators “And”, “Or”, and “Not”, all take a list of filter expressions as operands. In normal boolean logic they take two or one, and the list case can be a little confusing to read. Introduce aliases “AllOf”, “AnyOf”, and “NoneOf”. These are merely aliases for the operators, with the exact same semantics.

Signed-off-by: Lars Wirzenius liw@liw.fi

liw merged revision 96c477d4 at 9b35d116 1 year ago