Michael Zedeler mich...@zedeler.dk writes:
Moritz Lenz wrote:
Jon Lang wrote:
How do pred and succ work when given Complex values?
By adding/substracting 1 from the real part, I'd say. Don't know if that
actually makes sense.
It doesn't, because succ should always give the
Jon Lang wrote:
Concerning that last one: would it be reasonable to have a Discrete role
that provides a .succ method, and then overload the Range role? E.g.:
role Range[Ordered ::T] { ... }
role Range[Ordered Discrete ::T] {
...
method iterator ( - RangeIterator ) {