> How do I write parallel or in Concurrent Haskell, without using unsafe
> features?  So I want a function
>    por :: a -> a -> a
> which takes two (presumably unevaluated) parameters and evaluates them
> concurrently and returns if either of them returns.
They way you have specified the operation there is no way you can
write it without unsafe features.  If you could then Concurrent Haskell
would be non-deterministic, which (I reall hope!) it isn't.

Now if you want the "real" parallel or function
    por :: Bool -> Bool -> Bool
I think it should be possible.

        -- Lennart

Reply via email to