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

[REBOL] Re: Don't understand "try" and "disarm"

From: massung::gmail at: 15-Mar-2006 15:33

I don't think they are needed by any stretch, they just make things easier. I don't think REBOL needs a keyword! datatype. I think think syntax to do:
>> foo: 'foo
would be handy. In Lisp, this is the ':' token, but in REBOL this is used as [almost] a synonym for get. Using some other token might make things easier. Just a method of auto-interning a new symbol that is automatically set to point to itself when evaluated. Jeff M. On 3/15/06, Gabriele Santilli <gabriele-colellachiara.com> wrote:
> > Hi Jeff, > > On Wednesday, March 15, 2006, 9:05:05 PM, you wrote: > > JM> Simple enough. Only it isn't obvious that this is wrong. 'white and > 'black > JM> aren't ever evaluated, so there is no need for the quote. But, written > JM> without the quote it looks like I might be comparing against the RGB > tuple. > JM> Keywords eliminate this ambiguity, because evaluated or not, they are > always > JM> the same. > > I see your point, although the reason REBOL does not have this is > that basically nothing is evaluated unless specifically noted > otherwise. I can understand the confusion this can create though. > I wonder if it would be useful to have a keyword! datatype in > REBOL; I must say that in so many years I never felt the need for > it. > > Regards, > Gabriele. > -- > Gabriele Santilli <gabriele-rebol.com> --- http://www.rebol.com/ > Colella Chiara software division --- http://www.colellachiara.com/ > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- massung-gmail.com