[REBOL] Re: Highfun
From: greggirwin:mindspring at: 19-Nov-2001 21:14
Hi Ladislav,
Thanks for the example! I'm not sure if it's working right though. It
doesn't look like the refinement arguments are being handled correctly. The
final example is correct, the first two are not, unless I'm missing
something.
>> apply/r/n :test-fn [ref-d ref-c] [d: 1 c: 2 b: 3 a: 4]
A: 4
B: 3
C: 1
D: 2
>> apply/r/n :test-fn [ref-d ref-c] [c: 2 d: 1 b: 3 a: 4]
A: 4
B: 3
C: 1
D: 2
>> apply/r/n :test-fn [ref-c ref-d] [c: 1 d: 2 b: 3 a: 4]
A: 4
B: 3
C: 1
D: 2
--Gregg