Hi Jeff,


[EMAIL PROTECTED] wrote:

>   You suddenly realise that instead of:
>
>   either found? val1 [foo: val1][
>       either found? val2 [foo: val2][
>           either found? val3 [foo: val3][
>               foo: default-val
>           ]
>       ]
>   ]
>
>     you can just do this:
>
>   foo: any [val1 val2 val3 default-val]
>

Deja vu. Last  night (early this morning) I came up with this exact
idea, while writing a parse rule that had to distinguish three cases.

Take Care,

Elan

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to