1
0
Fork 0
cl-sites/novaspec.org/cl/1_8_Deprecated_Language_Features.html
2025-02-05 18:52:26 +01:00

559 lines
No EOL
14 KiB
HTML

<!DOCTYPE HTML>
<HTML LANG="en-us"
><HEAD
><TITLE
>1.8 Deprecated Language Features | Common Lisp Nova Spec</TITLE
><META CHARSET="US-ASCII"
><LINK REL="canonical" HREF="1_8_Deprecated_Language_Features.html"
><LINK REL="next" HREF="1_9_Symbols_in_the_COMMON-LISP_Package.html" TYPE="text/html" TITLE="1.9 Symbols in the COMMON-LISP Package"
><LINK REL="prev" HREF="1_7_Language_Subsets.html" TYPE="text/html" TITLE="1.7 Language Subsets"
><LINK REL="up" HREF="1_Introduction.html" TYPE="text/html" TITLE="1. Introduction"
><LINK REL="start" HREF="index.html" TYPE="text/html" TITLE="Common Lisp Nova Spec"
><META NAME="VIEWPORT" CONTENT="width=device-width, initial-scale=1.0"
><LINK REL="STYLESHEET" HREF="dpans.css%3F3909942064.css"
><SCRIPT SRC="dpans.js%3F3909942064"
></SCRIPT
><SCRIPT SRC="apropos.js%3F3909942064"
></SCRIPT
></HEAD
><BODY
><DIV
><DIV CLASS="topnav"
><DIV CLASS="breadcrumb"
><SPAN CLASS="breadcrumb-item"
><A HREF="index.html"
>Common Lisp Nova Spec</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="1_Introduction.html"
>1. Introduction</A
></SPAN
> <SPAN CLASS="breadcrumb-item"
>&#8594; <A HREF="1_8_Deprecated_Language_Features.html"
>1.8 Deprecated Language Features</A
></SPAN
></DIV
><DIV CLASS="apropos"
><DIV CLASS="apropos-io"
><A HREF="1_7_Language_Subsets.html" CLASS="prev"
>&#8592;</A
><SPAN ID="apropos-label"
>Apropos </SPAN
><INPUT ID="apropos" AUTOFOCUS="AUTOFOCUS" PLACEHOLDER="Type here to search" ONINPUT="aproposInput(this);" ONKEYUP="aproposKeyup(event);" ONCHANGE="aproposChange(this);" ONFOCUS="aproposFocus(this);" ONFOCUSOUT="aproposFocusout(this);"
><A HREF="1_9_Symbols_in_the_COMMON-LISP_Package.html" CLASS="next"
>&#8594;</A
></DIV
><DIV ID="apropos-res"
></DIV
></DIV
></DIV
><DIV CLASS="matter"
><SECTION
><H2 ID="sec_1_8" CLASS="HeadII"
>1.8 Deprecated Language Features</H2
><UL CLASS="subtoc"
><LI
><A HREF="1_8_Deprecated_Language_Features.html#sec_1_8_1"
>1.8.1 Deprecated Functions</A
></LI
><LI
><A HREF="1_8_Deprecated_Language_Features.html#sec_1_8_2"
>1.8.2 Deprecated Argument Conventions</A
></LI
><LI
><A HREF="1_8_Deprecated_Language_Features.html#sec_1_8_3"
>1.8.3 Deprecated Variables</A
></LI
><LI
><A HREF="1_8_Deprecated_Language_Features.html#sec_1_8_4"
>1.8.4 Deprecated Reader Syntax</A
></LI
></UL
><P CLASS="j"
>Deprecated language features are not expected to appear in future Common Lisp standards, but are required to be implemented for conformance with this standard; see <A HREF="1_5_Conformance.html#sec_1_5_1_1" CLASS="secref"
><SPAN CLASS="cmr"
>Section</SPAN
> <SPAN CLASS="cmr"
>1.5.1.1</SPAN
> <SPAN CLASS="cmr"
>(Required</SPAN
> <SPAN CLASS="cmr"
>Language</SPAN
> <SPAN CLASS="cmr"
>Features)</SPAN
></A
>. </P
><P CLASS="j"
><A HREF="26_1_Glossary.html#conforming_program"
><EM CLASS="term"
>Conforming programs</EM
></A
> can use deprecated features; however, it is considered good programming style to avoid them. It is permissible for the compiler to produce <A HREF="26_1_Glossary.html#style_warning"
><EM CLASS="term"
>style warnings</EM
></A
> about the use of such features at compile time, but there should be no such warnings at program execution time.</P
><H3 ID="sec_1_8_1" CLASS="HeadIII"
>1.8.1 Deprecated Functions</H3
><P CLASS="j"
>The <A HREF="26_1_Glossary.html#function"
><EM CLASS="term"
>functions</EM
></A
> in Figure 1&#8211;2 are deprecated.</P
><DIV CLASS="displaythree"
><FIGURE CLASS="boxfig"
><DIV CLASS="figbody"
><TABLE CELLSPACING="0" CELLPADDING="0" RULES="GROUPS" STYLE="margin: 1ex 0" WIDTH="100%"
><TBODY
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
><A HREF="f_assoc.html" CLASS="misc"
><B
>assoc-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_subst.html" CLASS="misc"
><B
>nsubst-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_provide.html" CLASS="misc"
><B
>require</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_count.html" CLASS="misc"
><B
>count-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_substitute.html" CLASS="misc"
><B
>nsubstitute-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_set.html" CLASS="misc"
><B
>set</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_remove.html" CLASS="misc"
><B
>delete-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_position.html" CLASS="misc"
><B
>position-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_subst.html" CLASS="misc"
><B
>subst-if-not</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_find.html" CLASS="misc"
><B
>find-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_provide.html" CLASS="misc"
><B
>provide</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_substitute.html" CLASS="misc"
><B
>substitute-if-not</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_gentemp.html" CLASS="misc"
><B
>gentemp</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_rassoc.html" CLASS="misc"
><B
>rassoc-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
><SPAN CLASS="misc"
></SPAN
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_member.html" CLASS="misc"
><B
>member-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_remove.html" CLASS="misc"
><B
>remove-if-not</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
><SPAN CLASS="misc"
></SPAN
></TD
></TR
></TBODY
></TABLE
></DIV
><FIGCAPTION CLASS="caption"
><B
>Figure 1&#8211;2. Deprecated Functions</B
></FIGCAPTION
></FIGURE
></DIV
><H3 ID="sec_1_8_2" CLASS="HeadIII"
>1.8.2 Deprecated Argument Conventions</H3
><P CLASS="j"
>The ability to pass a numeric <A HREF="26_1_Glossary.html#argument"
><EM CLASS="term"
>argument</EM
></A
> to <A HREF="f_gensym.html" CLASS="funref"
><B
>gensym</B
></A
> has been deprecated. </P
><P CLASS="j"
>The <SPAN CLASS="kwd"
><SPAN CLASS="cmtt"
>:test-not</SPAN
></SPAN
> <A HREF="26_1_Glossary.html#argument"
><EM CLASS="term"
>argument</EM
></A
> to the <A HREF="26_1_Glossary.html#function"
><EM CLASS="term"
>functions</EM
></A
> in Figure 1&#8211;3 are deprecated.</P
><DIV CLASS="displaythree"
><FIGURE CLASS="boxfig"
><DIV CLASS="figbody"
><TABLE CELLSPACING="0" CELLPADDING="0" RULES="GROUPS" STYLE="margin: 1ex 0" WIDTH="100%"
><TBODY
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
><A HREF="f_adjoin.html" CLASS="misc"
><B
>adjoin</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_set-difference.html" CLASS="misc"
><B
>nset-difference</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_search.html" CLASS="misc"
><B
>search</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_assoc.html" CLASS="misc"
><B
>assoc</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_set-exclusive-or.html" CLASS="misc"
><B
>nset-exclusive-or</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_set-difference.html" CLASS="misc"
><B
>set-difference</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_count.html" CLASS="misc"
><B
>count</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_sublis.html" CLASS="misc"
><B
>nsublis</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_set-exclusive-or.html" CLASS="misc"
><B
>set-exclusive-or</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_remove.html" CLASS="misc"
><B
>delete</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_subst.html" CLASS="misc"
><B
>nsubst</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_sublis.html" CLASS="misc"
><B
>sublis</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_remove-duplicates.html" CLASS="misc"
><B
>delete-duplicates</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_substitute.html" CLASS="misc"
><B
>nsubstitute</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_subsetp.html" CLASS="misc"
><B
>subsetp</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_find.html" CLASS="misc"
><B
>find</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_union.html" CLASS="misc"
><B
>nunion</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_subst.html" CLASS="misc"
><B
>subst</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_intersection.html" CLASS="misc"
><B
>intersection</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_position.html" CLASS="misc"
><B
>position</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_substitute.html" CLASS="misc"
><B
>substitute</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <SPAN CLASS="misc"
><B
>member</B
></SPAN
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_rassoc.html" CLASS="misc"
><B
>rassoc</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_tree-equal.html" CLASS="misc"
><B
>tree-equal</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_mismatch.html" CLASS="misc"
><B
>mismatch</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_remove.html" CLASS="misc"
><B
>remove</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
> <A HREF="f_union.html" CLASS="misc"
><B
>union</B
></A
></TD
></TR
><TR
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE=";padding-right:1em"
> <A HREF="f_intersection.html" CLASS="misc"
><B
>nintersection</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;padding-right:1em"
> <A HREF="f_remove-duplicates.html" CLASS="misc"
><B
>remove-duplicates</B
></A
></TD
><TD ALIGN="LEFT" VALIGN="BASELINE" NOWRAP="NOWRAP" STYLE="padding-left:1em;"
><SPAN CLASS="misc"
></SPAN
></TD
></TR
></TBODY
></TABLE
></DIV
><FIGCAPTION CLASS="caption"
><B
>Figure 1&#8211;3. Functions with Deprecated :TEST-NOT Arguments</B
></FIGCAPTION
></FIGURE
></DIV
><P CLASS="j"
>The use of the situation names <A HREF="f_compile.html" CLASS="misc"
><B
>compile</B
></A
>, <A HREF="f_load.html" CLASS="misc"
><B
>load</B
></A
>, and <A HREF="f_eval.html" CLASS="misc"
><B
>eval</B
></A
> in <A HREF="f_eval-when.html" CLASS="specref"
><B
>eval-when</B
></A
> is deprecated.</P
><H3 ID="sec_1_8_3" CLASS="HeadIII"
>1.8.3 Deprecated Variables</H3
><P CLASS="j"
>The <A HREF="26_1_Glossary.html#variable"
><EM CLASS="term"
>variable</EM
></A
> <A HREF="v_modules.html" CLASS="varref"
><B
>*modules*</B
></A
> is deprecated.</P
><H3 ID="sec_1_8_4" CLASS="HeadIII"
>1.8.4 Deprecated Reader Syntax</H3
><P CLASS="j"
>The <CODE CLASS="f"
>#S</CODE
> <A HREF="26_1_Glossary.html#reader_macro"
><EM CLASS="term"
>reader macro</EM
></A
> forces keyword names into the <SPAN CLASS="packref"
><SPAN CLASS="cmtt"
>KEYWORD</SPAN
></SPAN
> <A HREF="26_1_Glossary.html#package"
><EM CLASS="term"
>package</EM
></A
>; see <A HREF="2_4_Standard_Macro_Characters.html#sec_2_4_8_13" CLASS="secref"
><SPAN CLASS="cmr"
>Section</SPAN
> <SPAN CLASS="cmr"
>2.4.8.13</SPAN
> <SPAN CLASS="cmr"
>(Sharpsign</SPAN
> <SPAN CLASS="cmr"
>S)</SPAN
></A
>. This feature is deprecated; in the future, keyword names will be taken in the package they are read in, so <A HREF="26_1_Glossary.html#symbol"
><EM CLASS="term"
>symbols</EM
></A
> that are actually in the <SPAN CLASS="packref"
><SPAN CLASS="cmtt"
>KEYWORD</SPAN
></SPAN
> <A HREF="26_1_Glossary.html#package"
><EM CLASS="term"
>package</EM
></A
> should be used if that is what is desired.</P
></SECTION
></DIV
><DIV CLASS="footer"
><DIV CLASS="btmnav"
><A HREF="1_7_Language_Subsets.html" CLASS="prev"
>&#8592;</A
><A HREF="1_9_Symbols_in_the_COMMON-LISP_Package.html" CLASS="next"
>&#8594;</A
></DIV
><DIV CLASS="trail"
>Conversion to HTML copyright 2023 by Gilbert Baumann</DIV
></DIV
></DIV
><SCRIPT
>domReady();</SCRIPT
></BODY
></HTML
>