Hello,

The `show' function above exercise 50 in HTDP2e draft (or exercise 52 in 
HTDP2e) is:

(define (show x)
  (cond
    [(string? x) ...]
    [(<= -3 x -1) ...]
    [(>= x 0) ...]))

(in section 4.5)

The third clause perfectly expresses the non-negative condition of LRCD. 
However, exercise 50 still asks to write "a completely accurate condition for" 
the third clause. 

According to the paragraph below the `show' function, which says "(> x 0) is a 
test for all non-negative numbers", and the exercise 50, I suspect the author 
was trying to write `[(> x 0) ...]' in the book. Please correct me if I am 
wrong.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to