File: REDEF_bang_.html

package info (click to toggle)
acl2 3.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 36,712 kB
  • ctags: 38,396
  • sloc: lisp: 464,023; makefile: 5,470; sh: 86; csh: 47; cpp: 25; ansic: 22
file content (25 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download
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 !&gt;:redef!
ACL2 p!&gt;
</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>