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: santilli:gabriele::gmail at: 5-Nov-2010 15:02

On Fri, Nov 5, 2010 at 1:40 PM, Duke Normandin <dukeofperl-ml1.net> wrote:
> But what's the point of asking, "are you a number? The question is too > broad, is it not?
No, it is not. Examples: my-join: func [series1 [series!] series2 [series!]] [append copy series1 series2] rather than: my-join: func [ series1 [binary! block! email! file! hash! issue! list! paren! path! string! tag! url!] series2 [binary! block! email! file! hash! issue! list! paren! path! string! tag! url!] ] [ append copy series1 series2 ] Not counting the fact that if a new version of REBOL adds a new series type, you don't need to change your code to account for it.