Interval
What does the direction of brackets do in ]0, 1]?
It tells whether the boundary belongs to the interval. A bracket pointing inward includes the boundary; pointing outward, it excludes it: ]0, 1] contains all real numbers x such that 0 < x ≤ 1, so 1 is included but not 0. With four possible combinations, we distinguish open intervals, closed intervals, half-open on the left, or half-open on the right.