[Armedbear-devel] defmacro fails in another package
Stas Boukarev
stassats at gmail.com
Mon May 19 17:56:57 UTC 2014
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))
--
With best regards, Stas.
_______________________________________________
Armedbear-devel mailing list
Armedbear-devel at common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
More information about the armedbear-devel
mailing list