> Hi,
>   I think it's good idea to compute non-deterministic problems with the `amb'
> operator, just as in LISP/scheme. But how to implement it in haskell?

Do you mean "evaluate e1 and e2, and return the result of whichever 
returns first"?

Probably best to do this using threads.

--KW 8-)
-- 
Keith Wansbrough <[EMAIL PROTECTED]>
http://www.cl.cam.ac.uk/users/kw217/
University of Cambridge Computer Laboratory.

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to