Tim Newsham <news...@lava.net> wrote in article <pine.bsi.4.64.0906051510070.14...@malasada.lava.net> in gmane.comp.lang.haskell.cafe: > his language also > supports an interesting imperative primitive that lets you pick the first > available value from a set of channels which isn't available in pure > Haskell expressions. Has anyone implemented a primitive like this for > Haskell?
Could it be the "amb" described at http://conal.net/blog/posts/functional-concurrency-with-unambiguous-choice/ http://conal.net/blog/posts/smarter-termination-for-thread-racing/ ? -- Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig We want our revolution, and we want it now! -- Marat/Sade We want our revolution, and we'll take it at such time as you've gotten around to delivering it -- Haskell programmer _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe