[REBOL] Re: Is a "series" aka an "array"
From: dukeofperl:ml1 at: 4-Nov-2010 22:47
On Fri, 5 Nov 2010, Carl Read wrote:
> 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
I'm thinking that my reply to Iskata, comes close to what you mean
above. What do think?
--
Duke