
20 May
2014
20 May
'14
1:45 p.m.
Forgot to reply the list
-------- Пересылаемое сообщение --------
20.05.2014, 18:26, "Miguel Mitrofanov"
2) you can't use >>= in an if condition Could you give an example of the if condition you want an >>= in?
Actually, something like do ... if <- checkCondition then doReportSuccess else doReportFailure as well as do ... case <- generateResult of Nothing -> ... Just r -> ... instead of do ... b <- checkCondition if b ... and do ... r <- generateResult case r of ... would be very nice. -------- Завершение пересылаемого сообщения --------