
19 May
2007
19 May
'07
2:55 p.m.
On 19/05/07, Andrew Coppin
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@gmail.com