3 ms·
You should find this of interest because this is how USE is written in Rebol: >> source use use: make function! [[ "Defines words local to a block
by draegtun 10y ago
You should find this of interest because this is how USE is written in Rebol:
>> source use
use: make function! [[
"Defines words local to a block."
vars [block! word!] "Local word(s) to the block"
body [block!] "Block to evaluate"
][
apply make closure! reduce [to block! vars copy/deep body] []
]]