On 19/05/07, Andrew Coppin <[EMAIL PROTECTED]> wrote:
How about this?do y <- if x < 0 then do ... else do ...
As with many other things in Haskell, the rule is "Give it a go and see if it works!" You should find that the above code runs fine. -- -David House, [EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
