Lecture 20 Objectives


At the end of today's class you should

KNOW:

BE ABLE TO:

Sample Exam Question:

A database of college students staying in residence halls is made up of a list of structs with the following format:

;; a student is a struct
;; (make-student string symbol number string)
(define-struct student(name gender age id))
Using filter, write a function list-all-females that consumes a list-of-student and produces a list-of-student. The list that is produced contains only the female students.