Re: directional ranges

2005-11-25 Thread TSa
HaloO, Ruud H.G. van Tol wrote: Not at all: they just overlap at 0. OK, to me this spoils regularity. Like 'ab ' ~ ' xy' becoming 'ab xy' is at least surprising, if not outright wrong. That is (~$x).chars + (~$y).chars == +((~$x) ~ (~$y)) should always hold. Same thing for list

Re: directional ranges

2005-11-25 Thread Ruud H.G. van Tol
TSa: Ruud H.G. van Tol: Not at all: they just overlap at 0. OK, to me this spoils regularity. Like 'ab ' ~ ' xy' becoming 'ab xy' is at least surprising, if not outright wrong. That is (~$x).chars + (~$y).chars == +((~$x) ~ (~$y)) should always hold. Same thing for list

directional ranges (was: Re: type sigils redux, and new unary ^ operator)

2005-11-24 Thread Ruud H.G. van Tol
TSa: HaloO, Hi! Ruud H.G. van Tol: Yes, it could use a step: ^42.7 = (0, 7, 14, 21, 28, 35) ^42.-7 = (35, 28, 21, 14, 7, 0) OK, fine if the step sign indicates reversal after creation. That is, the modulus is 7 in both cases. ^-42.7 = (-35, -28, -21, -14, -7, 0) ^-42.-7 = (0,