(define (square-list items) (if (null? items) '() (cons (square (car items)) (square-list (cdr items)))))(define (square-list items) (map (lambda (x) (square x)) items))
No comments:
Post a Comment