[plt-scheme] solution for exercise 11.2.4

From: carlo ambrogio (cr-service at hotmail.it)
Date: Mon Jun 9 18:53:37 EDT 2008

the template could be:

(define (depth a-dl)
    [(symbol? a-dl) ...]
    [else ... (first a-dl) ... (depth (rest a-dl)) ...]))

how many clauses does the data def have? (how many clauses must the  
function def have?)

I think 2 (the data can be a symbol or a list)

Crea il tuo blog su Spaces, condividi le tue esperienze con il mondo! 

Posted on the users mailing list.