/usr/share/mozart/doc/tools/node8.html is in mozart-doc 1.4.0-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>3.1 Basic Usage</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node7.html">- Up -</A></TD><TD><A href="node9.html#section.linker.include">Next >></A></TD></TR></TABLE><DIV id="section.linker.basic"><H2><A name="section.linker.basic">3.1 Basic Usage</A></H2><P> The linker can be invoked on the input functor <CODE><I>In</I></CODE> in order to create an output functor <CODE><I>Out</I></CODE> as follows: </P><BLOCKQUOTE class="code"><CODE>% ozl </CODE><CODE><I>In</I></CODE><CODE> -o </CODE><CODE><I>Out</I></CODE></BLOCKQUOTE><P> </P><P> Consider for example the pickled functors <CODE>A.ozf</CODE>, <CODE>B.ozf</CODE>, and <CODE>subdir/C.ozf</CODE>, where <CODE>A.ozf</CODE> has been created from the following functor definition: </P><BLOCKQUOTE class="code"><CODE><SPAN class="keyword">functor</SPAN> <BR><SPAN class="keyword">import</SPAN> B<BR> C <SPAN class="keyword">at</SPAN> <SPAN class="string">'subdir/C.ozf'</SPAN> <BR> Application<BR><SPAN class="keyword">end</SPAN></CODE></BLOCKQUOTE><P> and the other functors have empty imports. By executing </P><BLOCKQUOTE class="code"><CODE>% ozl A.ozf -o D.ozf</CODE></BLOCKQUOTE><P> a new pickled functor <CODE>D.ozf</CODE> is created that contains both the functors contained in <CODE>B.ozf</CODE> and <CODE>subdir/C.ozf</CODE> but not the system functor <CODE>Application</CODE>. </P><P> If the linker is invoked in verbose mode as </P><BLOCKQUOTE class="code"><CODE>% ozl --verbose A.ozf -o D.ozf</CODE></BLOCKQUOTE><P> or </P><BLOCKQUOTE class="code"><CODE>% ozl -v A.ozf -o D.ozf</CODE></BLOCKQUOTE><P> for short, it prints the following information on which functors are in fact included and which are still imported by the newly created functor. </P><BLOCKQUOTE class="code"><CODE>Include:<BR> A.ozf, B.ozf, subdir/C.ozf.<BR>Import:<BR> x-oz://system/Application.</CODE></BLOCKQUOTE><P> </P><P> If we now invoke the linker on the newly created pickled functor <CODE>D.ozf</CODE> in verbose mode as follows: </P><BLOCKQUOTE class="code"><CODE>% ozl -v D.ozf</CODE></BLOCKQUOTE><P> it only prints the following information without creating a new functor: </P><BLOCKQUOTE class="code"><CODE>Include:<BR> D.ozf.<BR>Import:<BR> x-oz://system/Application.</CODE></BLOCKQUOTE><P> </P><P> By default, the linker includes (or links) all functors that are referred to by relative urls as in our previous example. How to change this behaviour is discussed in <A href="node9.html#section.linker.include">Section 3.2</A>. </P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node7.html">- Up -</A></TD><TD><A href="node9.html#section.linker.include">Next >></A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~duchier/">Denys Duchier</A>, <A href="http://www.ps.uni-sb.de/~kornstae/">Leif Kornstaedt</A> and <A href="http://www.ps.uni-sb.de/~schulte/">Christian Schulte</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>
|