/usr/share/mozart/doc/demo/node11.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>Common definitions: Common.oz</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#code.college.main"><< Prev</A></TD><TD><A href="college.html">- Up -</A></TD><TD><A href="node12.html#code.college.controller">Next >></A></TD></TR></TABLE><DIV class="unnumbered" id="code.college.common"><H3><A name="code.college.common">Common definitions: <CODE>Common.oz</CODE></A></H3><P class="margin"><A href="College/Common.oz">Source File</A></P><P> </P><BLOCKQUOTE><PRE><SPAN class="keyword">functor</SPAN> <BR> <BR><SPAN class="keyword">export</SPAN> <BR> <BR> Editor<BR> <BR> Monday<BR> Tuesday<BR> Wednesday<BR> Thursday<BR> Friday<BR> <BR> QuartersPerDay<BR> QuartersPerHour<BR> <BR> DemoMode<BR> <BR><SPAN class="keyword">import</SPAN> <BR> <BR> Error<BR> <BR> <BR><SPAN class="keyword">prepare</SPAN> <BR> %% <SPAN class="comment">my favorite editor<BR></SPAN> Editor = <SPAN class="string">"emacs"</SPAN> <BR> <BR> %% <SPAN class="comment">the week days<BR></SPAN> Monday = 1<SPAN class="keyword">#</SPAN>36<BR> Tuesday = 37<SPAN class="keyword">#</SPAN>72<BR> Wednesday = 73<SPAN class="keyword">#</SPAN>108<BR> Thursday = 109<SPAN class="keyword">#</SPAN>144<BR> Friday = 145<SPAN class="keyword">#</SPAN>180<BR> <BR> QuartersPerDay = 36<BR> QuartersPerHour = 4<BR> <BR> DemoMode = on<BR> <BR><SPAN class="keyword">define</SPAN> <BR> <BR> {Error<SPAN class="keyword">.</SPAN>registerFormatter college<BR> <SPAN class="keyword">fun</SPAN><SPAN class="variablename"> </SPAN>{<SPAN class="functionname">$</SPAN> E}<BR> T = <SPAN class="string">'error in college timetabling system'</SPAN> <BR> <SPAN class="keyword">in</SPAN> <BR> <SPAN class="keyword">case</SPAN> E<BR> <SPAN class="keyword">of</SPAN> college(A Xs S) <SPAN class="keyword">then</SPAN> <BR> %% <SPAN class="comment">expected: A: application Xs:list, S:virtualString<BR></SPAN> error(kind: T<BR> items: ([hint(l: <SPAN class="string">'In statement'</SPAN> m: apply(A Xs))<BR> hint(l: <SPAN class="string">'Reason '</SPAN> m: S)]))<BR> <BR> <SPAN class="keyword">else</SPAN> <BR> error(kind: T<BR> items: [line(oz(E))])<BR> <SPAN class="keyword">end</SPAN> <BR> <SPAN class="keyword">end</SPAN>}<BR><SPAN class="keyword">end</SPAN> <BR></PRE></BLOCKQUOTE><P></P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node10.html#code.college.main"><< Prev</A></TD><TD><A href="college.html">- Up -</A></TD><TD><A href="node12.html#code.college.controller">Next >></A></TD></TR></TABLE><HR><ADDRESS><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>
|