Hi,
In message "Re: Numberic#prev"
on 02/04/24, Sean Chittenden <sean / chittenden.org> writes:
|> I'm not sure how much useful it is. And I'm (little bit) afraid of
|> it might cause request for String#prev, which is way difficult to
|> define.
|
|It's only as useful as Integer#succ, which, proves to be useful when
|dealing with simple stacks and counters used outside of the range
|class.
Hmm, ascending order vs descending order...
|I agree with the preceding post:
|
|aString.succ.prev = aString.prev.succ = aString
Unfortunately String#succ is not reversible operation since it's not
one-to-one relation.
matz.