emacs.d/clones/lisp/www.cliki.net/format.html
2022-10-07 15:47:14 +02:00

61 lines
No EOL
3.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CLiki: format</title>
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
href="https://www.cliki.net/site/feed/article.atom?title=format">
<link rel="stylesheet" href="static/css/style.css">
<link rel="stylesheet" href="static/css/colorize.css">
</head>
<body>
<span class="hidden">CLiki - format</span>
<div id="content"><div id="content-area"><div id="article-title">format</div><div id="article"><ul>
<li>
<a href="http://www.lispworks.com/reference/HyperSpec/Body/f_format.htm">FORMAT</a> is Common Lisp's function for creating formatted text output. It is analogous to C's 'printf', but FORMAT can do a whole lot more.</li>
<li>An article, <a href="http://cybertiggyr.com/fmt/fmt.pdf">Advanced Use of Lisp's FORMAT Function</a>, shows how to make full use of <b>FORMAT</b>'s abilities. (The article was previously at <tt>lisp-p.org</tt>)</li>
<li>Drew McDermott has a good <a href="http://www.cs.yale.edu/homes/dvm/format-stinks.html">argument for not using FORMAT</a>.</li>
<li>
<a href="https://github.com/felipeochoa/py-format">py-format</a> has a lisp port of Python's <b>str.format</b> method, using the curly-brace {} notation.</li>
<li>A <a href="https://www.hexstreamsoft.com/articles/common-lisp-format-reference/clhs-summary/#subsections-summary-table">table</a> comprehensively summarizing all FORMAT directives and the various arguments and modifiers they accept (along with further relevant information) is available.</li>
</ul>
<hr>
<a href="Online&#32;Tutorial.html" class="category">Online Tutorial</a>, <a href="Document.html" class="category">Document</a></div></div>
<div id="footer" class="buttonbar"><ul><li><a href="format.html">Current version</a></li>
<li><a href="https://www.cliki.net/site/history?article=format">History</a></li>
<li><a href="https://www.cliki.net/site/backlinks?article=format">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=format&amp;from-revision=3770434043">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
</div>
<div id="header-buttons" class="buttonbar">
<ul>
<li><a href="https://www.cliki.net/">Home</a></li>
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
<li><a href="CLiki.html">About</a></li>
<li><a href="Text&#32;Formatting.html">Text Formatting</a></li>
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
</ul>
<div id="search">
<form action="https://www.cliki.net/site/search">
<label for="search_query" class="hidden">Search CLiki</label>
<input type="text" name="query" id="search_query" value="" />
<input type="submit" value="search" />
</form>
</div>
</div>
<div id="pageheader">
<div id="header">
<span id="logo">CLiki</span>
<span id="slogan">the common lisp wiki</span>
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
<label for="login_name" class="hidden">Account name</label>
<input type="text" name="name" id="login_name" class="login_input" />
<label for= "login_password" class="hidden">Password</label>
<input type="password" name="password" id="login_password" class="login_input" />
<input type="submit" name="login" value="login" id="login_submit" /><br />
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
</form>
</div>
</div>
</div>
</body></html>