[REBOL] Re: RFC on support for user-defined "types"
From: g:santilli:tiscalinet:it at: 11-Jun-2002 23:05
Hi Gregg,
On Tuesday, June 11, 2002, 6:53:46 PM, you wrote:
GI> What about specifying a prototype object instead of a block of words for an
GI> anonymous object? I'm thinking that the list of words could get quite long
GI> and perhaps be used in many places which might become burdensome.
Given that:
>> an-object: context [a: 1 b: 2]
>> f: func compose/deep [a [1] b [(an-object)]] [print [a mold b]]
>> f 1 context [c: 1 d: 2]
1
make object! [
c: 1
d: 2
]
>> source f
f: func [a [integer!] b [object!]][print [a mold b]]
works this kind of change should not be that much a problem...
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r