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

98 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 STANDARD-REPERTOIRE-GRATUITOUS 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/iss323_w.htm">
<LINK REL=UP HREF="../Issues/iss324.htm">
<LINK REL=NEXT HREF="../Issues/iss325_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/iss323_w.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Previous]" SRC="../Graphics/Prev.gif" ALIGN=Bottom></A><A REL=UP HREF="../Issues/iss324.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Up]" SRC="../Graphics/Up.gif" ALIGN=Bottom></A><A REL=NEXT HREF="../Issues/iss325_w.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Next]" SRC="../Graphics/Next.gif" ALIGN=Bottom></A></H1>
<HR>
<H2>Issue STANDARD-REPERTOIRE-GRATUITOUS Writeup</H2>
<PRE><B>Issue:</B> <A HREF="iss324.htm">STANDARD-REPERTOIRE-GRATUITOUS</A><P>
<B>Forum:</B> Cleanup<P>
<B>References:</B> Character Committee Report, 7/25/89, Proposals 2.2.1 and 2.4.3<P>
<B>Category:</B> Change<P>
<B>Edit history:</B> Version 1, 1/3/90 by Kim A. Barrett<P>
<P>
Problem Description<P>
The Character Committee Report Proposal 2.2.1 (passed 3/89) requires<P>
implementations to support and document a <A REL=DEFINITION HREF="../Body/07_ffb.htm#standard"><B>STANDARD</B></A> character subrepertoire,<P>
whose elements are the specified set of characters. This set of characters<P>
corresponds exactly to those characters which are of type <A REL=DEFINITION HREF="../Body/t_std_ch.htm#standard-char"><B>STANDARD-CHAR</B></A>.<P>
<P>
The Character Committee Report Proposal 2.4.3 (passed 6/89) states that<P>
every character repertoire name is a type specifier.<P>
<P>
Thus we have two atomic type specifiers for precisely the same thing. The<P>
type <A REL=DEFINITION HREF="../Body/07_ffb.htm#standard"><B>STANDARD</B></A> is equivelent to the type <A REL=DEFINITION HREF="../Body/t_std_ch.htm#standard-char"><B>STANDARD-CHAR</B></A>.<P>
<P>
<B>Proposal (STANDARD-REPERTOIRE-GRATUITOUS:RENAME):<P>
</B> Change the name of the <A REL=DEFINITION HREF="../Body/07_ffb.htm#standard"><B>STANDARD</B></A> character subrepertoire required by<P>
Character Proposal 2.2.1 to be <A REL=DEFINITION HREF="../Body/t_std_ch.htm#standard-char"><B>STANDARD-CHAR</B></A>.<P>
<P>
<B>Rationale:<P>
</B> This removes the duplication.<P>
<P>
<B>Current Practice:<P>
</B> Probably none.<P>
<P>
<B>Cost to Implementors:<P>
</B> Probably none.<P>
<P>
<B>Cost to Users:<P>
</B> Probably none.<P>
<P>
<B>Benefits:<P>
</B> Eliminates possible confusion when a person reading some code sees<P>
(<A REL=DEFINITION HREF="../Body/f_typep.htm#typep"><B>TYPEP</B></A> foo '<A REL=DEFINITION HREF="../Body/07_ffb.htm#standard"><B>STANDARD</B></A>)<P>
and wonders &quot;STANDARD what? Transmission?&quot;<P>
<P>
<B>Discussion:<P>
</B> Pitman and Barrett support this proposal (RENAME).<P>
<P>
There was initally some concern that <A REL=DEFINITION HREF="../Body/t_std_ch.htm#standard-char"><B>STANDARD-CHAR</B></A> might not be a valid<P>
repertoire name, but there are no restrictions placed on the names of<P>
repertoires in any of the proposals in the Character Committee Report<P>
dated 7/25/89. There is a footnote (#15) that constrains character<P>
scripts and labels to only use Latin capitals A-Z, hyphen, and digits<P>
0-9, which the name <A REL=DEFINITION HREF="../Body/t_std_ch.htm#standard-char"><B>STANDARD-CHAR</B></A> satisfies. Since this is a footnote,<P>
it can be argued that it has no force anyway.<P>
<P>
Unfortunately, this still doesn't remove <A REL=DEFINITION HREF="../Body/07_ffb.htm#standard"><B>STANDARD</B></A> as a defined name<P>
(i.e., exported symbol of the cl package) since it's used by CLOS for<P>
what might be argued to be an equally ungeneric purpose. There's a <P>
fair chance that somebody somewhere along the line is going to get <P>
annoyed by the inter-package sharing that occurs due to this symbol<P>
being present.<P>
<P>
-----<P>
Additional comments on the write-up:<P>
<P>
Moon (9 Jan 90):<P>
<P>
I support this. I think it's only an accident of the process for<P>
amending the character committee's proposals that the duplication<P>
between <A REL=DEFINITION HREF="../Body/07_ffb.htm#standard"><B>STANDARD</B></A> and <A REL=DEFINITION HREF="../Body/t_std_ch.htm#standard-char"><B>STANDARD-CHAR</B></A> was overlooked. Given that we<P>
want to get rid of one of the two duplicate names, it's clear<P>
that <A REL=DEFINITION HREF="../Body/t_std_ch.htm#standard-char"><B>STANDARD-CHAR</B></A> is a better name.<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>