IMO that hypothetical future function doesn't weigh heavier than the one being discussed here. This one will be used quite often and "range" is a fitting name for it.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-03-06 12:37: Subject: negative indices in array ranges
What do you mean? "range" shouldn't be used as a function name since we might want to make it a type? What would such a type do?
Contain for instance "1 to and inclusive 2". I think it's been discussed previously, but it might have been some years ago. Ie, {x;a<=x<=b}, {x;a<=x<b}, {x;a<x<=b} or {x;a<x<b}.
I don't say we should save it in case we implement the type, but I feel that a "range" function should work on or with such ranges, not arrays or other datatypes.
/ Mirar