[Ecls-list] Wishlist/Requirement: Package locks

Juan Jose Garcia Ripoll lisp at arrakis.es
Tue Dec 20 03:31:01 UTC 2005


On Tue, 2005-12-20 at 11:37 +0100, Juan Jose Garcia Ripoll wrote:
> ECL does have package locks. The only thing is that they were not
> enforced for function definitions: only warnings were produced. I have
> replaced these warnings with correctable errors in CVS. The nature of
> the error is not a package-lock, however.

(handler-case (defun stream (x) (print x))
    (error (c) (and (typep c 'package-error) t))) => T

It is a PACKAGE-ERROR, though.

Juanjo





More information about the ecl-devel mailing list