[Armedbear-devel] defmacro fails in another package

bonasso bonasso at traclabs.com
Mon May 19 18:12:06 UTC 2014

Right.  The default :use list is implementation dependent and I'm so 
used to ACL (which includes CL and CL-USER), I just didn't think it through.
> bonasso <bonasso at traclabs.com> writes:
>> Stas,
>> Thanks, I had previously tried (use-package "COMMON-LISP") as well as
>> (use-package "COMMON-LISP").
>> Just now I did (use-package "CL") and that worked.
> Those are all the same, but when your package doesn't use CL in the
> first place, you can't call USE-PACKAGE like that.
> What you need to do, though, is (make-package :foo :use '(:cl))
> or normally:
> (defpackage :foo (:use :cl))

Armedbear-devel mailing list
Armedbear-devel at common-lisp.net

More information about the armedbear-devel mailing list