;; The first three lines of this file were inserted by DrScheme. They record metadata ;; about the language level of this file in a form that our tools can easily process. #reader(lib "htdp-intermediate-reader.ss" "lang")((modname 18.1.11) (read-case-sensitive #t) (teachpacks ((lib "draw.ss" "teachpack" "htdp"))) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ((lib "draw.ss" "teachpack" "htdp"))))) (define-struct star (name instrument)) A star is a structure (make-star name instrument) where both name and instrument are symbols. (define alos (list (make-star 'Chris 'saxophone) (make-star 'Robby 'trumpet) (make-star 'Matt 'violin) (make-star 'Wen 'guitar) (make-star 'Matt 'radio))) last-occurrence : symbol list-of-star -> star Given a-name and a-los, find the last occurrence of a star with a-name in the name field and return this star structure. (define (last-occurrence a-name a-los) (cond [] []))