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

[REBOL] Re: Is a "series" aka an "array"

From: carl:cybercraft at: 5-Nov-2010 5:12

On Thursday, 4-Novenber-2010 at 18:59:10 Duke Normandin wrote,
>So... It seems that several REBOL data-types fall into an umbrella >category called "series". Is there a particular reason for *categorizing* >these data-types under the name "series"?
For one, it means routines that are written to handle series will then handle all the types that are series. ie...
>> foreach value "abc" [print value]
a b c
>> foreach value [xxx yyy zzz] [print value]
xxx yyy zzz
>> foreach value %file.r [print value]
f i l e . r -- Carl Read.