/usr/share/mozart/doc/base/procedure.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>8.1 Procedures</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="node10.html">- Up -</A></TD><TD><A href="cell.html#section.proccells.cells">Next >></A></TD></TR></TABLE><DIV id="section.proccells.procedures"><H2><A name="section.proccells.procedures">8.1 Procedures</A></H2><P> The module <A name="label472"></A><SPAN class="index"><CODE>Procedure</CODE></SPAN> specifies operations on procedures. </P><DL><DT><A name="label473"></A><SPAN class="index"><CODE>IsProcedure</CODE></SPAN> <A name="label475"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Procedure<SPAN class="keyword">.</SPAN>is </CODE><CODE>+<I>X</I></CODE><CODE> </CODE><CODE>?<I>B</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>tests whether <CODE><I>X</I></CODE> is a procedure. </P></DD><DT><A name="label476"></A><SPAN class="index"><CODE>ProcedureArity</CODE></SPAN> <A name="label478"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Procedure<SPAN class="keyword">.</SPAN>arity </CODE><CODE>+<I>P</I></CODE><CODE> </CODE><CODE>?<I>I</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>returns the procedure arity of <CODE><I>P</I></CODE>, i. e., the number of arguments which <CODE><I>P</I></CODE> takes. </P></DD><DT><CODE>apply</CODE> <A name="label480"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Procedure<SPAN class="keyword">.</SPAN>apply </CODE><CODE>+<I>P</I></CODE><CODE> </CODE><CODE>+<I>Xs</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>applies the procedure <CODE><I>P</I></CODE> to the arguments given by the elements of the list <CODE><I>Xs</I></CODE>, provided that </P><BLOCKQUOTE class="code"><CODE>{Procedure<SPAN class="keyword">.</SPAN>arity </CODE><CODE><I>P</I></CODE><CODE>} <SPAN class="keyword">==</SPAN> {Length </CODE><CODE><I>Xs</I></CODE><CODE>}</CODE></BLOCKQUOTE><P> </P></DD></DL><P> </P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node10.html">- Up -</A></TD><TD><A href="cell.html#section.proccells.cells">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>
|