Rainer Joswig <joswig@lisp.de> wrote:
+---------------
| "metaperl.com" <metaperl@gmail.com> wrote:
| > the defpackage is here in the main load.lsp of my program:
| > http://hg.metaperl.com/redick?f=bfb6548f1b98;file=lisp/load.lsp;style=gitweb
|
| Symbols in Common Lisp are UPPER CASE by default.
| See the result of (symbol-name 'cl:floor)
| ? (symbol-name 'cl:floor)
| "FLOOR"
| So, in DEFPACKAGE, EXPORT etc. you need to upcase those strings which
| are symbol names.
+---------------
Or use uninterned symbols, as a number of us lazy folks do... ;-}
(defpackage :redick
(:use :common-lisp)
(:shadow #:floor)
(:export #:double #:floor)
...[trimmed]...)
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607