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

[REBOL] Re: The reaseon for having SERIES?

From: joel:neely:fedex at: 5-Jan-2003 15:13

Hi, Frantisek, Frantisek Fuka wrote:
> Yes, I understand this, but I don't understand why there is ISSUE > type in Rebol at all. It seems tu me that I can simply use STRING > instead of ISSUE in all possible circumstances and functionality > would be the same. >
I was responding to your question about SERIES! and STRING! (as in the subject line). As for ISSUE! ... well, that's another issue ;-) to which others have responded. To be honest, I've been using REBOL for a few years now, and have almost never had a need for the ISSUE! type myself. But others find it useful sometimes. One cute little hack comes to mind; that of using ISSUE! as a way to save two keystrokes to represent individual character values:
>> join "" #A
== "A"
>> join "" #"A"
== "A"
>> equal? join "" #A join "" #"A"
== true Hardly the most urgent programming problem I've ever seen! ;-) -jn-