Closed axel-h closed 2 years ago
use proper closing bracket in the debug output
The closing bracket is already correct. The proposed change would mean it no longer matches with the opening bracket. The output isn't trying to be mathematical notation.
I don't think there is a good enough motivation for this change. This output has already been used for several years and there's some value in it maintaining a consistent syntax across multiple versions.
The closing bracket is already correct. The proposed change would mean it no longer matches with the opening bracket.
@kent-mcleod: I'm confused now. The opening bracket it [
and the closing bracket is )
. My proposal is changing the closing bracket to ]
to match the opening bracket.
@kent-mcleod: I'm confused now. The opening bracket it
[
and the closing bracket is)
. My proposal is changing the closing bracket to]
to match the opening bracket.
Sorry, I don't know what I was thinking here. @lsf37 points out that the notation is currently following mathematical range notation to communicate that the end values are exclusive not inclusive (https://en.wikipedia.org/wiki/Interval_(mathematics)#Including_or_excluding_endpoints) which I believe means that the brackets were intentionally mismatched.
Yes, the brackets were intentionally mismatched.
use proper closing bracket in the debug output