|
From: Slava P. <sl...@fa...> - 2007-04-17 22:31:03
|
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. |