Expressions, Types, and Functions - slide 22 : 46 |
Expression | Value |
(define computer-prefs '((peter . windows) (lars . mac) (paw . linux) (kurt . unix))) | |
(assq 'lars computer-prefs) | (lars . mac) |
(assq 'kurt computer-prefs) | (kurt . unix) |
(define computer-prefs-1 (cons (cons 'lene 'windows) computer-prefs)) | |
computer-prefs-1 | ((lene . windows) (peter . windows) (lars . mac) (paw . linux) (kurt . unix)) |