62 lines
No EOL
4.1 KiB
HTML
62 lines
No EOL
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>CLiki: clos-diff</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=clos-diff">
|
|
<link rel="stylesheet" href="static/css/style.css">
|
|
<link rel="stylesheet" href="static/css/colorize.css">
|
|
</head>
|
|
|
|
<body>
|
|
<span class="hidden">CLiki - clos-diff</span>
|
|
<div id="content"><div id="content-area"><div id="article-title">clos-diff</div><div id="article">clos-diff is a library to create and apply diffs of <a href="CLOS.html" class="category">CLOS</a> objects in a compact representation. The library also preforms the diffs recursively, so that (theoretically) infinite layers of objects can be diffed. The only dependency is <a href="closer-mop.html" class="internal">closer-mop</a>.<p>Homepage: <a href="https://github.com/krzysz00/clos-diff">https://github.com/krzysz00/clos-diff</a><p>License: <a href="GPL.html" class="category">GPL</a><p>Author: Krzysztof Drewniak <krzysdrewniak AT gmail DOT com><p>API:<p>function: clos-diff:diff (old new &key (test #'equalp))<br>
|
|
<blockquote>This function will create a diff that represents the modification
|
|
that need to be applied to object old to create the object new. The
|
|
test parameter will control the test used for equality. As a special
|
|
case is the old parameter is nil, a diff from an object with no
|
|
bound slots will be created.</blockquote><p>function: clos-diff:apply-diff (diff &optional object)<br>
|
|
<blockquote>This function will apply the diff given in the parameter diff to the
|
|
object contained in object. If object is nil, a fresh object of the
|
|
appropriate type (with all slots unbound) will be created, and the
|
|
diff will be applied to that (See the documentation for diff for
|
|
more information).</blockquote><p><hr>
|
|
Topics: <a href="serialization.html" class="category">serialization</a></div></div>
|
|
<div id="footer" class="buttonbar"><ul><li><a href="clos-diff.html">Current version</a></li>
|
|
<li><a href="https://www.cliki.net/site/history?article=clos-diff">History</a></li>
|
|
<li><a href="https://www.cliki.net/site/backlinks?article=clos-diff">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=clos-diff&from-revision=3516128650">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 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> |