[plt-scheme] Re: Htdp chapter 12 insertion sort

Marco Morazan morazanm at gmail.com
Tue Jun 2 16:02:44 EDT 2009


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


More information about the plt-scheme mailing list