Newsgroups: comp.lang.lisp
From: Peter Seibel <pe...@javamonkey.com>
Date: Sun, 04 May 2003 04:58:15 GMT
Local: Sun, May 4 2003 12:58 am
Subject: Re: Implementation Favoritism, a question of Lisp mindsets
Peter Seibel <pe...@javamonkey.com> writes: Blech. I think I need to recant, or at least rethink, this > Mark Conrad <nos...@iam.invalid> writes: > > In article <costanza-737264.15343803052...@news.netcologne.de>, Pascal > > > And PLEASE: It's not very constructive that you don't follow the links > > > Do it! Do it now! Take some time to read and understand these things. > > That online book was very helpful, I read all the chapters you > > The book was not all that helpful in resolving the issue of whether a > > Confusion reigns surpreme on this particular aspect of "binding", > I'm not sure the HyperSpec says that. Here's another way to read it, explanation. Because the way I wanted to understand "binding", "bind", "bound", and "unbound" doesn't fit with the definiton of BOUNDP and MAKUNBOUND and the observed behavior of two implementations. (I.e. I assume the implementors, since they agree, got it right and I'm the one who's confused.) Anyway suppose you do define a special variable with DEFVAR: (defvar *s* 10) Now evaluate: (let () In both the implementations I tried this, it prints: *S*: 10 (boundp: T) At this point I have to join Mark Conrad in his confusion about what binding glossary entry "n. an association between a name and that which the name bound glossary entry: "1. adj. having an associated denotation in a binding." unbound glossary entry: "adj. not having an associated denotation in a binding. See bound." BOUNDP dictionary entry: "Returns true if symbol is bound; otherwise, returns false." MAKUNBOUND "Makes the symbol be unbound, regardless of whether it was LET dictionary entry: "let and let* create new variable bindings" PROGV dictionary entry: "If too few values are supplied, the remaining symbols are bound variable glossary entry: "n. a binding in the ``variable'' namespace." So it seems that the only way to interpret the definiton of "binding" However, the code I showed above seems to demonstrate--in the two So what the heck is the name for that something? -Peter P.S. I'm fairly sure I understand the *behavior* of DEFVAR, LET, -- The intellectual level needed for system design is in general You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||