1
0
Fork 0
cl-sites/HyperSpec-7-0/HyperSpec/Issues/iss193_w.htm
2024-04-01 10:24:07 +02:00

121 lines
6 KiB
HTML

<!-- Common Lisp HyperSpec (TM), version 7.0 generated by Kent M. Pitman on Mon, 11-Apr-2005 2:31am EDT -->
<HTML>
<HEAD>
<TITLE>CLHS: Issue IGNORE-USE-TERMINOLOGY Writeup</TITLE>
<LINK HREF="../Data/clhs.css" REL="stylesheet" TYPE="text/css" />
<META HTTP-EQUIV="Author" CONTENT="Kent M. Pitman">
<META HTTP-EQUIV="Organization" CONTENT="LispWorks Ltd.">
<LINK REL=TOP HREF="../Front/index.htm">
<LINK REL=COPYRIGHT HREF="../Front/Help.htm#Legal">
<LINK REL=DISCLAIMER HREF="../Front/Help.htm#Disclaimer">
<LINK REL=PREV HREF="../Issues/iss192_w.htm">
<LINK REL=UP HREF="../Issues/iss193.htm">
<LINK REL=NEXT HREF="../Issues/iss194_w.htm">
</HEAD>
<BODY>
<H1><A REV=MADE HREF="http://www.lispworks.com/"><IMG WIDTH=80 HEIGHT=65 ALT="[LISPWORKS]" SRC="../Graphics/LWSmall.gif" ALIGN=Bottom></A><A REL=TOP HREF="../Front/index.htm"><IMG WIDTH=237 HEIGHT=65 ALT="[Common Lisp HyperSpec (TM)]" SRC="../Graphics/CLHS_Sm.gif" ALIGN=Bottom></A> <A REL=PREV HREF="../Issues/iss192_w.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Previous]" SRC="../Graphics/Prev.gif" ALIGN=Bottom></A><A REL=UP HREF="../Issues/iss193.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Up]" SRC="../Graphics/Up.gif" ALIGN=Bottom></A><A REL=NEXT HREF="../Issues/iss194_w.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Next]" SRC="../Graphics/Next.gif" ALIGN=Bottom></A></H1>
<HR>
<H2>Issue IGNORE-USE-TERMINOLOGY Writeup</H2>
<PRE><B>Forum:</B> Public Review<P>
<B>Issue:</B> <A HREF="iss193.htm">IGNORE-USE-TERMINOLOGY</A><P>
<B>References:</B> Barrett's public review comment #30<P>
<A REL=DEFINITION HREF="../Body/d_ignore.htm#ignore"><B>IGNORE</B></A>, <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignorable"><B>IGNORABLE</B></A><P>
<B>Category:</B> CLARIFICATION<P>
<B>Edit history:</B> 21 Dec 1992, Version 1 by Loosemore<P>
<B>Status:</B> Proposal VALUE-ONLY passed (7+1)-2 on letter ballot 93-302<P>
<P>
<P>
<B>Problem description:<P>
</B><P>
In the description of the <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignore"><B>IGNORE</B></A> declaration, there are several<P>
occurances of &quot;use&quot;, &quot;used&quot;, &quot;referred to&quot;, and &quot;referenced&quot;, which<P>
are not well specified. The question is, what constitutes a use of a<P>
binding. Are only references for value considered to be &quot;uses~, or<P>
should references as a place to modify also be considered &quot;uses&quot;?<P>
Implementations differ on this question, making it very difficult to<P>
use the <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignore"><B>IGNORE</B></A> declaration in portable code.<P>
<P>
There are two proposals, VALUE-ONLY and VALUE-AND-ASSIGNMENT.<P>
<P>
<P>
<B>Proposal (IGNORE-USE-TERMINOLOGY:VALUE-ONLY):<P>
</B><P>
Change the description of the <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignore"><B>IGNORE</B></A> and <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignorable"><B>IGNORABLE</B></A> declarations to<P>
use the glossary term &quot;reference&quot; throughout.<P>
<P>
Clarify that, for the purposes of <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignore"><B>IGNORE</B></A> and <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignorable"><B>IGNORABLE</B></A>, a &quot;reference&quot;<P>
includes only references for value. <P>
<P>
<P>
<B>Proposal (IGNORE-USE-TERMINOLOGY:VALUE-AND-ASSIGNMENT):<P>
</B> <P>
Change the description of the <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignore"><B>IGNORE</B></A> and <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignorable"><B>IGNORABLE</B></A> declarations to<P>
use the glossary term &quot;reference&quot; throughout.<P>
<P>
Clarify that, for the purposes of <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignore"><B>IGNORE</B></A> and <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignorable"><B>IGNORABLE</B></A>, a &quot;reference&quot;<P>
includes both references for value and variable assignments.<P>
<P>
<P>
<B>Rationale:<P>
</B><P>
Either one of these proposals would address the problem.<P>
<P>
<P>
<B>Current practice:<P>
</B><P>
Unknown.<P>
<P>
<P>
<B>Cost to implementors:<P>
</B><P>
Probably small.<P>
<P>
<P>
<B>Cost to users:<P>
</B><P>
Probably small.<P>
<P>
<P>
<B>Aesthetics:<P>
</B><P>
Specifying this behavior is more aesthetic than leaving it unspecified.<P>
<P>
<P>
<B>Editorial impact:<P>
</B><P>
The changes are confined to the dictionary entry for <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignore"><B>IGNORE</B></A> and<P>
<A REL=DEFINITION HREF="../Body/d_ignore.htm#ignorable"><B>IGNORABLE</B></A>.<P>
<P>
<P>
<B>Discussion:<P>
</B><P>
Barrett has indicated he prefers proposal VALUE-ONLY, but Loosemore<P>
thinks that having variables that can be assigned to but not<P>
referenced are of questionable utility.<P>
<P>
While researching this issue, Loosemore noted that the provision<P>
about the behavior of <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignore"><B>IGNORE</B></A> (and presumably <A REL=DEFINITION HREF="../Body/d_ignore.htm#ignorable"><B>IGNORABLE</B></A>) from issue<P>
<A HREF="iss228.htm">MACRO-DECLARATIONS</A> had not been incorporated into draft 12.24. Can<P>
we give the editor authority to remedy this? <P>
<P>
<P>
<P>
<P>
<P>
<P>
<P>
<P>
<P>
</PRE>
<HR>
<A REL=NAVIGATOR HREF="../Front/StartPts.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Starting Points]" SRC="../Graphics/StartPts.gif" ALIGN=Bottom></A><A REL=TOC HREF="../Front/Contents.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Contents]" SRC="../Graphics/Contents.gif" ALIGN=Bottom></A><A REL=INDEX HREF="../Front/X_Master.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Index]" SRC="../Graphics/Index.gif" ALIGN=Bottom></A><A REL=INDEX HREF="../Front/X_Symbol.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Symbols]" SRC="../Graphics/Symbols.gif" ALIGN=Bottom></A><A REL=GLOSSARY HREF="../Body/26_a.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Glossary]" SRC="../Graphics/Glossary.gif" ALIGN=Bottom></A><A HREF="../Front/X3J13Iss.htm"><IMG WIDTH=80 HEIGHT=40 ALT="[Issues]" SRC="../Graphics/Issues.gif" ALIGN=Bottom></A><BR>
<A REL=COPYRIGHT HREF="../Front/Help.htm#Legal"><I>Copyright 1996-2005, LispWorks Ltd. All rights reserved.</I></A><P>
</BODY>
</HTML>