;; The first three lines of this file were inserted by DrRacket. They record metadata ;; about the language level of this file in a form that our tools can easily process. #reader(lib "htdp-beginner-reader.ss" "lang")((modname 21.1.3) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ()))) ; Worked exercise 21.1.3 ; A person has three parts: first and last are strings, and age is a number. (define-struct person (first last age)) ; make-person : string(first) string(last) number(age) -> person ; person-first : person -> string ; person-last : person -> string ; person-age : person -> number ; person? : anything -> boolean