55 lines
2.2 KiB
HTML
55 lines
2.2 KiB
HTML
|
<html lang="en">
|
||
|
<head>
|
||
|
<title>Reader and Printer - SBCL Internals</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html">
|
||
|
<meta name="description" content="SBCL Internals">
|
||
|
<meta name="generator" content="makeinfo 4.11">
|
||
|
<link title="Top" rel="start" href="index.html#Top">
|
||
|
<link rel="up" href="Character-and-String-Types.html#Character-and-String-Types" title="Character and String Types">
|
||
|
<link rel="prev" href="Memory-Layout.html#Memory-Layout" title="Memory Layout">
|
||
|
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
||
|
<!--
|
||
|
|
||
|
This manual is part of the SBCL software system. See the `README'
|
||
|
file for more information.
|
||
|
|
||
|
This manual is in the public domain and is provided with
|
||
|
absolutely no warranty. See the `COPYING' and `CREDITS' files for
|
||
|
more information.
|
||
|
-->
|
||
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
||
|
<style type="text/css"><!--
|
||
|
pre.display { font-family:inherit }
|
||
|
pre.format { font-family:inherit }
|
||
|
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
||
|
pre.smallformat { font-family:inherit; font-size:smaller }
|
||
|
pre.smallexample { font-size:smaller }
|
||
|
pre.smalllisp { font-size:smaller }
|
||
|
span.sc { font-variant:small-caps }
|
||
|
span.roman { font-family:serif; font-weight:normal; }
|
||
|
span.sansserif { font-family:sans-serif; font-weight:normal; }
|
||
|
--></style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="node">
|
||
|
<p>
|
||
|
<a name="Reader-and-Printer"></a>
|
||
|
Previous: <a rel="previous" accesskey="p" href="Memory-Layout.html#Memory-Layout">Memory Layout</a>,
|
||
|
Up: <a rel="up" accesskey="u" href="Character-and-String-Types.html#Character-and-String-Types">Character and String Types</a>
|
||
|
<hr>
|
||
|
</div>
|
||
|
|
||
|
<!-- node-name, next, previous, up -->
|
||
|
<h3 class="section">9.2 Reader and Printer</h3>
|
||
|
|
||
|
<p>The <code>"</code> reader macro always constructs an object of type
|
||
|
<code>(simple-array character)</code>, even if all of the characters within
|
||
|
the quotation marks are of type <code>base-char</code>. This implies that
|
||
|
only strings of type <code>(vector character)</code> will be able to be
|
||
|
printed when <code>*print-readably*</code> is true: attempting to print
|
||
|
strings of other types will cause an error of type
|
||
|
<code>print-not-readable</code>.
|
||
|
|
||
|
</body></html>
|
||
|
|