1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
<html>
<head><title>RASSOC.html -- ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>RASSOC</h2>look up value in association list, using <code><a href="EQL.html">eql</a></code> as test
<pre>Major Section: <a href="PROGRAMMING.html">PROGRAMMING</a>
</pre><p>
<code>(Rassoc x alist)</code> is similar to <code>(assoc x alist)</code>, the difference
being that it looks for the first pair in the given alist whose
<code><a href="CDR.html">cdr</a></code>, rather than <code><a href="CAR.html">car</a></code>, is <code><a href="EQL.html">eql</a></code> to <code>x</code>. See <a href="ASSOC.html">assoc</a>.
<p>
The <a href="GUARD.html">guard</a> of <code>rassoc</code> requires its second argument to be an alist,
and in addition, that either its first argument is <code><a href="EQLABLEP.html">eqlablep</a></code> or
else all second components of pairs belonging to the second argument
are <code><a href="EQLABLEP.html">eqlablep</a></code>. See <a href="EQLABLEP.html">eqlablep</a>.<p>
<code>Rassoc</code> is a Common Lisp function. See any Common Lisp
documentation for more information.
<br><br><br><a href="acl2-doc.html"><img src="llogo.gif"></a> <a href="acl2-doc-index.html"><img src="index.gif"></a>
</body>
</html>
|