File: INTERN%24.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 (23 lines) | stat: -rw-r--r-- 1,055 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
<html>
<head><title>INTERN$.html  --  ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>INTERN$</h2>create a new symbol in a given package
<pre>Major Section:  <a href="PROGRAMMING.html">PROGRAMMING</a>
</pre><p>

<code>Intern$</code> is a macro that behaves the same as the macro <code><a href="INTERN.html">intern</a></code>,
except for weakening the restriction to a fixed set of package names so that
any package name other than <code>""</code> is legal.  See <a href="INTERN.html">intern</a>.  Note that if you
evaluate a call <code>(intern$ x y)</code> for which there is no package with name
<code>y</code> that is known to ACL2, you will get an error.
<p>
<code>(Intern$ x y)</code> expands to:

<pre>
(intern-in-package-of-symbol x (pkg-witness y))
</pre>

See <a href="INTERN-IN-PACKAGE-OF-SYMBOL.html">intern-in-package-of-symbol</a> and see <a href="PKG-WITNESS.html">pkg-witness</a>.
<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>