Re: Very confused about packages.



On 29 Jun 2006 22:08:53 -0700, rsobriquet@xxxxxxxxxxxxxx tried to
confuse everyone with this message:


Pillsbury,

Shapiro's book is fantastic.


defpackage "match"
(:shadow boundp substitute))

(in-package "match")


That should be (defpackage "MATCH" ...) and (in-package "MATCH"). I
believe that Chapter 6 and Chapter 7 spend some time discussing the
many different printed representations that symbols possess. (Everyone
runs into this problem).


Or better yet (defpackage :match) or (defpackage #:match), so Lisp
converts it in uppercase for you.

--
|Don't believe this - you're not worthless ,gr---------.ru
|It's us against millions and we can't take them all... | ue il |
|But we can take them on! | @ma |
| (A Wilhelm Scream - The Rip) |______________|
.



Relevant Pages

  • Re: Very confused about packages.
    ... (:shadow boundp substitute)) ... many different printed representations that symbols possess. ...
    (comp.lang.lisp)
  • Re: Non mains system
    ... When you absolutely, positively must confuse every ... technician in the room, accept no substitute. ... (But the damned things work forever) ...
    (alt.security.alarms)