/usr/share/mozart/doc/contrib/node5.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 Backwards Compatibility</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="node2.html#chapter.gdbm"><< Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node6.html#chapter.directory">Next >></A></TD></TR></TABLE><DIV id="chapter.compat"><H1><A name="chapter.compat">3 Backwards Compatibility</A></H1><P> The modules described in this chapter provide functionality to increase interoperability with or upgrade from previous releases of Mozart. </P><H2><A name="label1">3.1 The <CODE>TextPickle</CODE> module</A></H2><P> The <CODE>TextPickle</CODE> module allows one to read text pickles written by Mozart 1.0.1. It may be imported as follows: </P><BLOCKQUOTE class="code"><CODE><SPAN class="keyword">import</SPAN> TextPickle <SPAN class="keyword">at</SPAN> <SPAN class="string">'x-oz://contrib/compat/TextPickle.ozf'</SPAN></CODE></BLOCKQUOTE><P> </P><DL><DT><CODE>TextPickle<SPAN class="keyword">.</SPAN>load</CODE> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{TextPickle<SPAN class="keyword">.</SPAN>load </CODE><CODE>+<I>V</I></CODE><CODE> </CODE><CODE><I>X</I></CODE><CODE> </CODE><CODE>?<I>YTs</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>takes the name of a file <CODE><I>V</I></CODE> containing a text pickle and parses it. Returns the value represented by the pickle in <CODE><I>X</I></CODE>. <CODE><I>X</I></CODE> may have holes (unbound variables) in place of the data structures that could not be converted (at the moment, these include procedures and extensions except byte strings). <CODE><I>YTs</I></CODE> maps these holes to low-level descriptions of the corresponding data structures as described by the pickle; for procedures, this includes the instructions making up the body. </P></DD></DL><P></P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node2.html#chapter.gdbm"><< Prev</A></TD><TD><A href="index.html">- Up -</A></TD><TD><A href="node6.html#chapter.directory">Next >></A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~duchier/">Denys Duchier</A> and <A href="http://www.ps.uni-sb.de/~kornstae/">Leif Kornstaedt</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>
|