| 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)
(cond
[(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!
http://home.services.spaces.live.com/
| Posted on the users mailing list. |
|