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:[EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe