On Tue, Jun 2, 2009 at 3:40 PM, aditya shukla <adityashukla1983 at gmail.com> wrote: > I thought there should be else in place of cons? and what's the use of cons? > here. > OK, that makes it clear. So as I said in my reply you can rewrite the function using else. It is two ways of doing exactly the same thing. :-) -- Cheers, Marco