; Fill in the contract for each function provided by these structure and data definitions. ; The first one has been done for you. ;;;;;;;;;;;;;;;;;;;; EXAMPLE ;;;;;;;;;;;;;;;;;;;; (define-struct book (author title )) ; A Book is (make-book String String) ; Book has one constructor: ; make-book : String String -> Book ; Book has two destructors: ; book-author : Book -> String ; book-title : Book -> String ; Book has one predicate, or huh?-function: ; book? : Any -> Boolean ;;;;;;;;;;;;;;;;;;;; EXERCISES ;;;;;;;;;;;;;;;;;;;; (define-struct fruit (name color weight)) ; A Fruit is (make-fruit String Symbol Number) ; ... (define-struct motorcycle (name brand color topspeed)) ; A Motorcycle is (make-motorcycle String String Symbol Number) ; ... (define-struct height (value)) ; A Height is (make-height Number) ; ... ;;;;;;;;;;;;;;;;;;;; TEMPLATE ;;;;;;;;;;;;;;;;;;;; ; Now choose one of the structures above. ; Write the template for functions which consume that structure. ; Template: