Open maroneze opened 6 years ago
Unfortunately, this is not the case: .. b
indicates the set of all integers less than or equal to b
. There has been some internal discussions on allowing something like you suggest in case the range is used as pointer offset, but things aren't as simple as that: if \base_addr(p) != p
, p[ .. ]
should be at least equivalent to p[ -\offset(p) .. \block_length(p)-\offset(p)-1]
. Moreover, the meaning of ..
would heavily depend on its context. This is already the case for other constructs, but this might not help making things really clearer.
It is not clear in the documentation the meaning of implicit bounds in the
term? .. term?
range construct.Ideally, looking for "range" in the document should quickly lead to a phrase saying, for instance, that:
is equivalent to
and
is equivalent to
or something similar.