
20 Feb
2007
20 Feb
'07
5:36 a.m.
Hello Vikrant, Tuesday, February 20, 2007, 10:59:16 AM, you wrote:
I encounter situation in which my function has to end recursion by doing "nothing" and otherwise keep calling same function with some different parameters. I did not find anything equivalent to "pass" or "return" statement in Haskell.
return () when (cond) $ do statements unless (cond) $ do statements if cond then statement else do statements -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com