Hi Chris,

Perhaps each branch in a match-cond can receive a hashtable on the  
stack. Then it can bind to this hashtable, and if it needs to  
recurse, it can recurse outside of the quotation passed to bind? Then  
match-cond can be rewritten to call quotations in tail position.

But I think a simpler solution is to just recurse outside the match- 
cond.

Slava

On 17-Apr-07, at 6:20 PM, Chris Double wrote:

> Yes, this is an annoying problem and is the price to pay for the
> convenience of being able to use ?foo to get the value of the 'foo'
> pattern match in the match-cond quotation.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to