From: Tom Binford

Subject: packages

Date: 1996-7-1 21:59



Hi


I am failing with export in packages.  From my (mis)understanding
of CLTL2, this is how I think packages are made.  When I
compile the file, package-function is not known in package
common-lisp-user.  Would you give me a working example?


Tom

(CL:DEFPACKAGE ":my-package" (:USE "COMMON-LISP")
    (:EXPORT "**my-global**" "package-function"))

(IN-PACKAGE ":my-package")

(DEFCONSTANT **my-global** 42)




(DEFUN package-function (name constraints various)
(BREAK))








The following don't work also.














;;;(eval-when (eval load compile)
;;;  (export
;;;  '(**class** create-name)))


;;;(export (list '**class** 'create-name))