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: dukeofperl:ml1 at: 4-Nov-2010 18:59

On Thu, 4 Nov 2010, Tim Johnson wrote:
> * Duke Normandin <dukeofperl-ml1.net> [101103 15:10]: > > > > Hey list... > > > > I'm re-visiting REBOL, and I must say that I'm appreciating it a whole > > lot more this 2nd time around. > > > > Just to be clear - is a REBOL series exactly the same thing as an > > array in other languages?
[snip]
> >> type? #000000 > == issue! > >> series? #000000 > == true > >> b: [my name is Duke] > == [my name is Duke] > >> type? b > == block! > >> series? b > == true > >> s: "my name is duke" > == "my name is duke" > >> type? s > == string! > >> series? s > == true > ;; end of code > I hope you don't find this too confusing, but this knowledge may > prove helpful, for instance in setting up the interface for a function.
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"? -- Duke