Closed glyn closed 2 years ago
To be honest I also considered a comment along the lines of "couldn't we just say 'standard Boolean math'?" But (another little -used math degree here) I found it pleasing and, on reflection, possibly beneficial for an implementor.
Among other things, it dawns on me that if I were implementing, I'd copy-paste all those lines into a unit test.
See also this rendered version.
Ref: https://en.wikipedia.org/wiki/Boolean_algebra#Laws
Fixes https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-base/issues/188