On 19/05/07, Andrew Coppin <andrewcoppin at btinternet.com> 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, dmhouse at gmail.com