Files

23 lines
663 B
Common Lisp

;;; PACKAGES 2: EXPORTS
;;;
;;; A single colon reaches only EXPORTED symbols. The kitchen
;;; makes soup; only the soup is on the menu.
;; TODO: The defpackage below is missing (:export #:make-soup).
(defpackage #:kitchen
(:use #:common-lisp))
(in-package #:kitchen)
(defun make-soup ()
"a pot of soup")
;;; ------------------------------------------------------------------
;;; Checks. Read them - they tell you what to aim for - but leave
;;; them unchanged. (Checks run back in the user package.)
;;; ------------------------------------------------------------------
(in-package #:common-lisp-user)
(check-equal "a pot of soup" (kitchen:make-soup))