Re: New slice operator

new topic     » goto parent     » topic index » view thread      » older message » newer message

c.k.lester wrote:
> 
> Fernando Bauer wrote:
> > A possible definition of the new operator '~' is:
> >    s[a~b] =: s[min(max(1,a),$+1) .. min($,b)]
> 
> You're really trying to aggravate those of us with US keyboards, aren't you?
> :D
> 
> How about the colon, instead?
> 
> x[1:4]
> 
> That's a little easier.

So, is s[x:y] a single or slice assignment? No one can tell.

CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu