[plt-scheme] htdp exercise 12.2.2

From: aditya shukla (adityashukla1983 at gmail.com)
Date: Wed Jun 3 15:08:05 EDT 2009

The exercise 12.2.2 illustrates the concept of search and then asks to
implement search-sorted.It says that search-sorted takes the advantage that
the list is sorted. My question is then what's the difference between search
and search-sorted. Because  for both we can check for the first and do
recursion on the rest of the list?


Thanks,
Aditya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090603/39209e5d/attachment.html>

Posted on the users mailing list.