;;; VARIABLES 1: GIVING A NAME TO A VALUE ;;; ;;; DEFPARAMETER introduces a global variable. By convention globals ;;; wear earmuffs: *room-capacity*. ;; TODO: The function below needs *room-capacity* to exist. Give it a ;;; value that makes 200 visitors a full room, but 3 visitors not. (defun room-full-p (attendees) (> attendees *room-capacity*)) ;;; ------------------------------------------------------------------ ;;; Checks. Read them - they tell you what to aim for - but leave ;;; them unchanged. ;;; ------------------------------------------------------------------ (check (room-full-p 200)) (check (not (room-full-p 3)))