Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Lisp > Re: What Part o...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 21 Topic 12472 of 13573
Post > Topic >>

Re: What Part of Unspecified Does Kenny Not Understand?

by usenet2.3.CalRobert@[EMAIL PROTECTED] (Robert Maas, http://tinyurl May 13, 2008 at 05:28 PM

> > CLHS 18.2.11 maphash:
> > "...The consequences are unspecified if any attempt is made to add or
> > remove an entry from the hash-table while a maphash is in progress,
> > with two exceptions: the /function/ can...use remhash to remove that
> > entry."
> From: Juho Snellman <jsn...@[EMAIL PROTECTED]
>
> The difference is between "an entry" and "that entry". You may
> remove the key that the function was called with, you may not
> remove any other keys.

That's my understanding too. I'm 99% sure KMP will agree.

CLtL1 is more clear, but has a typo: Manually typing in from printed page:
"with one [sic] exception: if the function calls REMHASH to remove
 the entry currently being processed by the function, or performs a
 SETF of GETHASH on that entry to change the associated value."
The im****tant more-clear phrase is "the entry currently being processed".
I wonder why KMP changed the language in the HyperSpec to be ever
so slightly less obviously clear than how Steele had explained the
same thing? Maybe KMP thought the new wording was less
wordy/verbose/redundant/overkill/forDummies?
(I don't have access to the ANSI spec AFAIK, so I'm just guessing
 that KMP made the language more concise in the ANSI spec, then
 simply copied that concise language into the HyperSpec. If Steele
 would grant permission, perhaps KMP should update the HyperSpec to
 use Steele's language instead, since it does seem to be a point of
 occasional misunderstanding? Or maybe have the phrase "that entry"
 in *each* of the two-exceptions be a hyperlink to the explanatory
 footnote "the entry currently being processed, i.e. the entry whose
 key is the first parameter to the function")
 




 21 Posts in Topic:
What Part of Unspecified Does Kenny Not Understand?
Ken Tilton <kennytilto  2008-05-13 08:31:10 
Re: What Part of Unspecified Does Kenny Not Understand?
Zach Beane <xach@[EMAI  2008-05-13 08:38:49 
Re: What Part of Unspecified Does Kenny Not Understand?
Juho Snellman <jsnell@  2008-05-13 15:50:18 
Re: What Part of Unspecified Does Kenny Not Understand?
Ken Tilton <kennytilto  2008-05-13 11:40:22 
Re: What Part of Unspecified Does Kenny Not Understand?
usenet2.3.CalRobert@[EMAI  2008-05-13 17:28:37 
Re: What Part of Unspecified Does Kenny Not Understand?
rpw3@[EMAIL PROTECTED] (  2008-05-13 21:59:06 
Re: What Part of Unspecified Does Kenny Not Understand?
Kent M Pitman <pitman@  2008-05-13 23:19:26 
Re: What Part of Unspecified Does Kenny Not Understand?
danb <sogwaldan@[EMAIL  2008-05-13 18:38:00 
Re: What Part of Unspecified Does Kenny Not Understand?
Ken Tilton <kennytilto  2008-05-14 11:50:08 
Re: What Part of Unspecified Does Kenny Not Understand?
Edi Weitz <spamtrap@[E  2008-05-14 10:31:39 
Re: What Part of Unspecified Does Kenny Not Understand?
Kent M Pitman <pitman@  2008-05-14 12:00:06 
Re: What Part of Unspecified Does Kenny Not Understand?
Rainer Joswig <joswig@  2008-05-14 18:26:07 
Re: What Part of Unspecified Does Kenny Not Understand?
rpw3@[EMAIL PROTECTED] (  2008-05-14 23:01:03 
Re: What Part of Unspecified Does Kenny Not Understand?
David Golden <david.go  2008-05-15 22:56:11 
Re: What Part of Unspecified Does Kenny Not Understand?
Kent M Pitman <pitman@  2008-05-15 19:49:52 
CLHS "Data/" subdir [was: ...Unspecified...Kenny... ]
rpw3@[EMAIL PROTECTED] (  2008-05-15 22:02:00 
Re: CLHS "Data/" subdir [was: ...Unspecified...Kenny... ]
Peter Hildebrandt <pet  2008-05-16 13:22:20 
Re: CLHS "Data/" subdir
Edi Weitz <spamtrap@[E  2008-05-16 11:52:01 
Re: CLHS "Data/" subdir
rpw3@[EMAIL PROTECTED] (  2008-05-16 06:31:45 
Re: CLHS "Data/" subdir [was: ...Unspecified...Kenny... ]
philip.armitage@[EMAIL PR  2008-05-16 06:03:00 
Re: What Part of Unspecified Does Kenny Not Understand?
danb <sogwaldan@[EMAIL  2008-05-14 15:56:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 11:02:50 CDT 2008.