This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; find-assoc: Any AL -> (listof Any) | |
| ; (find-assoc id al) produces the first element of al whose *car* is equal to id. | |
| (define (find-assoc id al) | |
| (first (filter (lambda (x) (equal? (first x) id)) al))) |
NewerOlder