File: TOGGLE-PC-MACRO.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 (30 lines) | stat: -rw-r--r-- 992 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
26
27
28
29
30
<html>
<head><title>TOGGLE-PC-MACRO.html  --  ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>TOGGLE-PC-MACRO</h2>change an ordinary macro command to an atomic macro, or vice-versa
<pre>Major Section:  <a href="PROOF-CHECKER.html">PROOF-CHECKER</a>
</pre><p>


<pre>
Example:
(toggle-pc-macro pro)
</pre>

Change <code>pro</code> from an atomic macro command to an ordinary one (or
vice-versa, if <code>pro</code> happens to be an ordinary macro command)
<p>

<pre>
General Form:
(toggle-pc-macro name &amp;optional new-tp)
</pre>

If name is an
atomic macro command then this turns it into an ordinary one, and
vice-versa.  However, if <code>new-tp</code> is supplied and not <code>nil</code>, then it
should be the new type (the symbol <code>macro</code> or <code>atomic-macro</code>, in any
package), or else there is no change.
<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>