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

[REBOL] Re: Please help me out

From: btiffin:rogers at: 24-Aug-2010 3:09

It's a "belief" of mine. Data in blocks are just literal data until a REDUCE. Nifty cool data-type! data, but still just the literal data. Explicit or implicit in other words like DO or paren expressions in COMPOSE, to me REDUCE is one of the magic concepts that lets REBOL look and feel easy while being deep and vast. Now explaining part of the belief. It started dawning on me when I began the trek to figuring out what the heck lit-words were and why REBOL needs them. The rest is just example; ... being unable to explain REBOL in a way that is truthful and not just the look and feel easy bit. a: 42 b: 9 data: [a b] literaldata: ['a 'b] human: ['a 'is a 'and 'b 'is b] ; the type? of these entries is word! probe data [a b] probe reduce data [42 9] ; integer! reduces to the same integer! probe reduce reduce data [42 9] ; the type? of the entries is lit-word!, reduced to word! probe reduce literaldata [a b] probe reduce reduce literaldata [42 9] ; lit-word! mixed with word! probe reduce human [a is 42 and b is 9] ; the word is is not bound to a context that can give a value probe reduce reduce human ** Script Error: is has no value Cheers, Brian On Mon, 23 Aug 2010 17:23:53 -0400, Emeka <emekamicro-gmail.com> wrote: