Hi,
In message "Numberic#prev"
on 02/04/24, Sean Chittenden <sean / chittenden.org> writes:
|I do a lot of incrementing and decrementing of values: it'd be nice if
|Numeric#succ had a counter part.
|
|The attached patch provides Numeric#prev which is faster in tight
|loops than (one less object):
I think you meant Integer#prev.
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.
matz.