Errata for Chapter 2 of Programming and Meta Programming

Please report any errors to me at pearce@mathcs.sjsu.edu. Thanks.

Page 33: (define delta 1e-20)

Page 33, last paragraph should read:

   ... to produce the final answer, #f:

      > (small? num)
      #f

Page 34, line 2:

   > (small? num)
   #t

Page 52: (apply string-ci<=? names) in sorted? won't work unless names contains exactly two strings.

Page 56 - 57: All string and character comparisons expect two arguments, not n.

Page 63: 3 missing double quotes:

   > (string-append "Is" "tan" "bul")
   "Istanbul"

Page 66: (substring "Apple" 0 3) should return "App", not "Apl".

pg. 76 column major form should be:

   #(#(3 1 7) etc.)