Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Cunning use of [], () & {} in R# and in future? Rebol versions?

From: g:santilli:tiscalinet:it at: 20-Oct-2003 10:00

Hi Brett, On Monday, October 20, 2003, 8:29:41 AM, you wrote: BH> So is a/5..10 one path of length two - the second value (5..10) being a new BH> datatype? Something like a pair? There are two issues here that people seem to forget. First of all, REBOL is based on values, not on "operators". So we are not talking about adding a new operator, we are talking about adding a new type of value, or at least adding new semantics for some existing datatype when encountered by the function interpreter. Second, there's something I don't like in the kind of semantics we are talking about: we are hiding under some kind of syntactic sugar an operation that is going to require an amount of computation that is not evident by looking at the notation itself. This is in part the case for paths too, so I'm not saying a firm no , but I'm very afraid of this kind of syntactic sugar. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/