-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
137 lines (113 loc) · 4.94 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="canonical" href="https://www.hexstreamsoft.com/articles/common-lisp-format-reference/cross-reference/" />
<meta name="author" content="Jean-Philippe Paradis" />
<link rel="author" href="https://www.hexstreamsoft.com/introduction.html" />
<link rel="license" href="https://www.hexstreamsoft.com/UNLICENSE" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Cross-reference | Common Lisp FORMAT reference | Articles | HexstreamSoft</title>
<link href="../css/global.css" rel="stylesheet" type="text/css" />
<link href="index.css" rel="stylesheet" type="text/css" />
<script src="https://global.hexstream.dev/scripts/global.js"></script>
<script src="https://www.hexstreamsoft.com/scripts/global.js"></script>
<script src="../scripts/global.js"></script>
</head>
<body>
<nav id="top-nav">
<div class="main">
<div class="breadcrumbs">
<a href="https://www.hexstreamsoft.com/">HexstreamSoft</a>
<span class="crumb"><span class="s"> » </span><a href="https://www.hexstreamsoft.com/articles/">Articles</a></span>
<span class="crumb"><span class="s"> » </span><a href="../">FORMAT reference</a></span>
<span class="crumb"><span class="s"> » </span><a class="here">Cross-reference</a></span>
</div>
<nav class="tabs">
<ul>
<li><a href="../clhs-summary/">CLHS summary</a></li>
<li><a href="../format-directives/">Format directives</a></li>
<li><a class="here">Cross-reference</a></li>
</ul>
</nav>
</div>
<p id="last-updated"><span>This page was last updated on </span><time datetime="2015-09-12">12 september 2015</time><span>.</span></p>
</nav>
<main>
<header id="page-header">
<h1>Cross-reference</h1>
<p class="description">
Groups format directives according to various commonalities.
</p>
</header>
<p class="status-indicator stub">✘ Stub</p>
<section id="function-alternatives">
<h1 class="breadcrumbs-bar">
<span class="section-relative-nav">
<a href="#function-alternatives" class="anchor">⚓</a>
</span>
<span class="breadcrumbs">
<a href="../">FORMAT reference</a>
<span class="crumb"><span class="s"> » </span><a href="#">Cross-reference</a></span>
<span class="crumb"><span class="s"> » </span><a class="here">Function alternatives</a></span>
</span>
</h1>
<div class="scroll">
<table>
<thead>
<tr>
<th>Format directive</th>
<th>Function</th>
<th>To string</th>
</tr>
</thead>
<tbody>
<tr>
<th>~W</th>
<td><a class="symbol" href="#write">write</a></td>
<td><a class="symbol" href="#write-to-string">write-to-string</a></td>
</tr>
<tr>
<th>~S</th>
<td><a class="symbol" href="#prin1">prin1</a></td>
<td><a class="symbol" href="#prin1-to-string">prin1-to-string</a></td>
</tr>
<tr>
<th>~A</th>
<td><a class="symbol" href="#princ">princ</a></td>
<td><a class="symbol" href="#princ-to-string">princ-to-string</a></td>
</tr>
<tr>
<th>~%</th>
<td><a class="symbol" href="#terpri">terpri</a></td>
<td></td>
</tr>
<tr>
<th>~&</th>
<td><a class="symbol" href="#fresh-line">fresh-line</a></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<pre class="example"><code class="common-lisp">(format nil "~S" <var>object</var>) == (prin1-to-string <var>object</var>)</code></pre>
<pre class="example"><code class="common-lisp">(format <var>stream</var> "~A" <var>object</var>) == (princ <var>object</var> <var>stream</var>)</code></pre>
</section>
</main>
<footer id="footer">
<div class="back-to-top left">
<a href="#">⬆</a>
</div>
<div class="main">
<a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hexstreamsoft.com%2Farticles%2Fcommon-lisp-format-reference%2Fcross-reference%2F">✔ HTML5</a>
<a href="https://www.hexstreamsoft.com/README">✔ Public Domain</a>
<a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.hexstreamsoft.com%2Farticles%2Fcommon-lisp-format-reference%2Fcross-reference%2F">✔ CSS3</a>
<a>✔ Mobile-friendly</a>
</div>
<div class="back-to-top right">
<a href="#">⬆</a>
</div>
</footer>
</body>
</html>