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

51 lines
6.9 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: Section 15.1.2.2</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="15_aba.htm">
<LINK REL=UP HREF="15_ab.htm">
<LINK REL=NEXT HREF="c_arrays.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="15_aba.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Previous]" SRC="../Graphics/Prev.gif" ALIGN=Bottom></A><A REL=UP HREF="15_ab.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Up]" SRC="../Graphics/Up.gif" ALIGN=Bottom></A><A REL=NEXT HREF="c_arrays.htm"><IMG WIDTH=40 HEIGHT=40 ALT="[Next]" SRC="../Graphics/Next.gif" ALIGN=Bottom></A></H1>
<HR>
<H2>
15.1.2.2 Required Kinds of Specialized Arrays</H2> <P>
<A REL=DEFINITION HREF="26_glo_v.htm#vector"><I>Vectors</I></A> whose <A REL=DEFINITION HREF="26_glo_e.htm#element"><I>elements</I></A> are restricted to <A REL=DEFINITION HREF="26_glo_t.htm#type"><I>type</I></A> <A REL=DEFINITION HREF="t_ch.htm#character"><B>character</B></A> or a <A REL=DEFINITION HREF="26_glo_s.htm#subtype"><I>subtype</I></A> of <A REL=DEFINITION HREF="t_ch.htm#character"><B>character</B></A> are called <A REL=DEFINITION HREF="26_glo_s.htm#string"><I>strings</I></A>. <A REL=DEFINITION HREF="26_glo_s.htm#string"><I>Strings</I></A> are of <A REL=DEFINITION HREF="26_glo_t.htm#type"><I>type</I></A> <A REL=DEFINITION HREF="t_string.htm#string"><B>string</B></A>. The next figure lists some <A REL=DEFINITION HREF="26_glo_d.htm#defined_name"><I>defined names</I></A> related to <A REL=DEFINITION HREF="26_glo_s.htm#string"><I>strings</I></A>. <P>
<A REL=DEFINITION HREF="26_glo_s.htm#string"><I>Strings</I></A> are <A REL=DEFINITION HREF="26_glo_s.htm#specialized"><I>specialized</I></A> <A REL=DEFINITION HREF="26_glo_a.htm#array"><I>arrays</I></A> and might logically have been included in this chapter. However, for purposes of readability most information about <A REL=DEFINITION HREF="26_glo_s.htm#string"><I>strings</I></A> does not appear in this chapter; see instead <A REL=CHILD HREF="16_.htm">Section 16 (Strings)</A>. <P>
<PRE>
<A REL=DEFINITION HREF="f_char_.htm#char">char</A> <A REL=DEFINITION HREF="f_stgeq_.htm#string-equal">string-equal</A> <A REL=DEFINITION HREF="f_stg_up.htm#string-upcase">string-upcase</A>
<A REL=DEFINITION HREF="f_mk_stg.htm#make-string">make-string</A> <A REL=DEFINITION HREF="f_stgeq_.htm#string-greaterp">string-greaterp</A> string/=
<A REL=DEFINITION HREF="f_stg_up.htm#nstring-capitalize">nstring-capitalize</A> <A REL=DEFINITION HREF="f_stg_tr.htm#string-left-trim">string-left-trim</A> string&lt;
<A REL=DEFINITION HREF="f_stg_up.htm#nstring-downcase">nstring-downcase</A> <A REL=DEFINITION HREF="f_stgeq_.htm#string-lessp">string-lessp</A> string&lt;=
<A REL=DEFINITION HREF="f_stg_up.htm#nstring-upcase">nstring-upcase</A> <A REL=DEFINITION HREF="f_stgeq_.htm#string-not-equal">string-not-equal</A> string=
<A REL=DEFINITION HREF="f_char_.htm#schar">schar</A> <A REL=DEFINITION HREF="f_stgeq_.htm#string-not-greaterp">string-not-greaterp</A> string&gt;
<A REL=DEFINITION HREF="a_string.htm#string">string</A> <A REL=DEFINITION HREF="f_stgeq_.htm#string-not-lessp">string-not-lessp</A> string&gt;=
<A REL=DEFINITION HREF="f_stg_up.htm#string-capitalize">string-capitalize</A> <A REL=DEFINITION HREF="f_stg_tr.htm#string-right-trim">string-right-trim</A>
<A REL=DEFINITION HREF="f_stg_up.htm#string-downcase">string-downcase</A> <A REL=DEFINITION HREF="f_stg_tr.htm#string-trim">string-trim</A>
</PRE>
<P><B>Figure 15-2. Operators that Manipulate Strings</B> <P>
<A REL=DEFINITION HREF="26_glo_v.htm#vector"><I>Vectors</I></A> whose <A REL=DEFINITION HREF="26_glo_e.htm#element"><I>elements</I></A> are restricted to <A REL=DEFINITION HREF="26_glo_t.htm#type"><I>type</I></A> <A REL=DEFINITION HREF="t_bit.htm#bit"><B>bit</B></A> are called <A REL=DEFINITION HREF="26_glo_b.htm#bit_vector"><I>bit vectors</I></A>. <A REL=DEFINITION HREF="26_glo_b.htm#bit_vector"><I>Bit vectors</I></A> are of <A REL=DEFINITION HREF="26_glo_t.htm#type"><I>type</I></A> <A REL=DEFINITION HREF="t_bt_vec.htm#bit-vector"><B>bit-vector</B></A>. The next figure lists some <A REL=DEFINITION HREF="26_glo_d.htm#defined_name"><I>defined names</I></A> for operations on <A REL=DEFINITION HREF="26_glo_b.htm#bit_array"><I>bit arrays</I></A>. <P>
<PRE>
<A REL=DEFINITION HREF="a_bit.htm#bit">bit</A> <A REL=DEFINITION HREF="f_bt_and.htm#bit-ior">bit-ior</A> <A REL=DEFINITION HREF="f_bt_and.htm#bit-orc2">bit-orc2</A>
<A REL=DEFINITION HREF="f_bt_and.htm#bit-and">bit-and</A> <A REL=DEFINITION HREF="f_bt_and.htm#bit-nand">bit-nand</A> <A REL=DEFINITION HREF="f_bt_and.htm#bit-xor">bit-xor</A>
<A REL=DEFINITION HREF="f_bt_and.htm#bit-andc1">bit-andc1</A> <A REL=DEFINITION HREF="f_bt_and.htm#bit-nor">bit-nor</A> <A REL=DEFINITION HREF="f_bt_sb.htm#sbit">sbit</A>
<A REL=DEFINITION HREF="f_bt_and.htm#bit-andc2">bit-andc2</A> <A REL=DEFINITION HREF="f_bt_and.htm#bit-not">bit-not</A>
<A REL=DEFINITION HREF="f_bt_and.htm#bit-eqv">bit-eqv</A> <A REL=DEFINITION HREF="f_bt_and.htm#bit-orc1">bit-orc1</A>
</PRE>
<P><B>Figure 15-3. Operators that Manipulate Bit Arrays</B> <P>
<P><HR>The following <A REL=META HREF="../Front/X3J13Iss.htm">X3J13 cleanup issue</A>, <I>not part of the specification</I>, applies to this section:<P><UL><LI> <A REL=CHILD HREF="../Issues/iss031.htm">CHARACTER-PROPOSAL:2-3-2</A><P></UL><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>