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

[REBOL] Re: SKIP with *very* large values

From: joel:neely:fedex at: 18-May-2002 10:06

Hi, Carl and Romano, Carl Read wrote:
> On 18-May-02, Romano Paolo Tenca wrote: > > > Skip and others functions accept a number! datatype. > > > I don't find any documentation about this datatype in Core. > > > Where is it? Or it does not exist? > > It's a type of meta-datatype (there's no doubt a correct term:) that > can refer to a group of specific datatypes in the same way the > series! datatype refers to string, blocks and so on. Thus integer! > and decimal! datatypes are both also number! datatypes... >
I think the REBOL documentation (somewhere) calls these "metatypes". For those who know other languages, I'd say that they are closer to the Java concept of "interface" than the Smalltalk concept of supertype -- although the REBOL type system isn't at all OO. -jn- -- ; Joel Neely joeldotneelyatfedexdotcom REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] { | e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]