What do you think about ranges like std::ops::Range in RON?
For example:
(
value: 0..5,
foo: -5..=2,
)
I think it might be just syntactic sugar and a replacement for:
(
value: (
start: 0,
end: 5,
),
foo: (
start: -5,
end: 2,
),
)
What about floats, it may be difficult and unreadable to parse due to dots:
What do you think about ranges like std::ops::Range in RON?
For example:
I think it might be just syntactic sugar and a replacement for:
What about floats, it may be difficult and unreadable to parse due to dots:
( a: 0.0..0.5, )