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

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Tue Jun 2 16:01:14 EDT 2009


1. list? would be a mistake. Wny?

2. (cons? ..) and else are equivalent for our purposes. The use of  
cons? emphasizes that there really are two possibilities: empty? and  
cons?. The use of else is less informative for readers.







On Jun 2, 2009, at 3:40 PM, aditya shukla wrote:

> I thought there should be else in place of cons? and what's the use  
> of cons? here.
>
>
>
> Aditya
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.