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
|
<html>
<head><title>REDEF_bang_.html -- ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>REDEF!</h2>system hacker's redefinition <a href="COMMAND.html">command</a>
<pre>Major Section: <a href="MISCELLANEOUS.html">MISCELLANEOUS</a>
</pre><p>
<pre>
Example and General Form:
ACL2 !>:redef!
ACL2 p!>
</pre>
This <a href="COMMAND.html">command</a> sets <code><a href="LD-REDEFINITION-ACTION.html">ld-redefinition-action</a></code> to <code>'(:warn! . :overwrite)</code>
sets the default <a href="DEFUN-MODE.html">defun-mode</a> to <code>:</code><code><a href="PROGRAM.html">program</a></code>, and invokes
<code>(set-state-ok t)</code>. It also introduces <code>(defttag :redef!)</code>, so that
redefinition of system functions will be permitted; see <a href="DEFTTAG.html">defttag</a>.
<p>
This <a href="COMMAND.html">command</a> is intended for those who are modifying ACL2 source code
definitions. Thus, note that even system functions can be redefined with a
mere warning. Be careful!
<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>
|