[EMAIL PROTECTED] wrote:

[do-in diffs either even? num [[up/by num]] [[down/by num]]]
> > (using COMPOSE here you may get closer to your hypothetical
> > syntax...)
> 
> Being a Bear of Small Brain (and I was up late last night and
> haven't had sufficient coffee yet this morning), I must ask for
> an example of what you had in mind here.

>> num: 1                                   
== 1
>> reduce [make path! compose [(pick [up down] even? num) by] 'num]
== [down/by num]
>> num: 2                                                          
== 2
>> reduce [make path! compose [(pick [up down] even? num) by] 'num]
== [up/by num]

Not as elegant as I'd like it to be...

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

Reply via email to