|
From: Chris D. <chr...@do...> - 2007-04-17 22:37:05
|
On 4/18/07, Slava Pestov <sl...@fa...> wrote:
> Perhaps each branch in a match-cond can receive a hashtable on the
> stack.
Yes, this is how it used to work. Then most uses of match-cond became:
: baz ( -- )
[
{ { ?foo ?bar } [ [ ?foo ... ?bar ... ] bind baz ] }
] match-cond ;
I'll probably go back to that model. I don't think anyone has really
used the concurrency library in anger apart from me so it's hard to
work out the best idioms.
Chris.
--
http://www.bluishcoder.co.nz
|