[REBOL] Words, Bindings and Contexts. (7) Re:
From: larry:ecotope at: 26-Jul-2000 11:33
HI Ladislav
Very cool! Use of simulated behavior (implemented in REBOL) is a concise
and precise way of expressing one's thoughts about the workings of REBOL
functions. I find it much more informative than lengthy attempts to
describe in ordinary language how functions work.
I have followed your Words, Bindings, and Contexts posts with great
interest. I have learned a lot from your discussions and hope to see more.
Just a couple of quick questions:
Can you say more about Dangerous Contexts? For instance:
>> f: func [x][return x]
>> first :f
== [x]
>> type? first first :f
== word!
>>value? first first :f ;REBOL crashes on any attempt to examine the
words in first :f
Isn't this just a bug in REBOL? Why does it not return an error instead of
crash?
How about a modifying to sim-func to allow handling of /local and
refinements? Then it would be a more complete model of func.
Thank you again for sharing this excellent material.
-Larry