[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.
data: [a b]
literaldata: ['a 'b]
human: ['a 'is a 'and 'b 'is b]
; the type? of these entries is word!
probe reduce data
; integer! reduces to the same integer!
probe reduce reduce data
; the type? of the entries is lit-word!, reduced to word!
probe reduce literaldata
probe reduce reduce literaldata
; 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
On Mon, 23 Aug 2010 17:23:53 -0400, Emeka <emekamicro-gmail.com> wrote: