[Ecls-list] defpackage patch

Brian Spilsbury brian.spilsbury at gmail.com
Mon May 8 07:24:00 UTC 2006


This example does not work correctly.

(defpackage "FOO"
  (:use)
  (:import-from "CL" "NIL" "T"))

(in-package "FOO")
(print t)
(print nil)

NIL is not imported because (import nil) correctly interprets nil as
an empty list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.3
Type: application/octet-stream
Size: 320 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20060508/c2d21c7a/attachment.obj>


More information about the ecl-devel mailing list