/usr/share/doc/liboasis-ocaml-doc/oasis/ODNFunc.html is in liboasis-ocaml-doc 0.4.5-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="FormatExt.html">
<link rel="next" href="PropList.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="FormatExt" rel="Chapter" href="FormatExt.html">
<link title="ODNFunc" rel="Chapter" href="ODNFunc.html">
<link title="PropList" rel="Chapter" href="PropList.html">
<link title="OASISUtils" rel="Chapter" href="OASISUtils.html">
<link title="OASISUnixPath" rel="Chapter" href="OASISUnixPath.html">
<link title="OASISContext" rel="Chapter" href="OASISContext.html">
<link title="OASISGettext" rel="Chapter" href="OASISGettext.html">
<link title="OASISMessage" rel="Chapter" href="OASISMessage.html">
<link title="OASISText" rel="Chapter" href="OASISText.html">
<link title="OASISTypes" rel="Chapter" href="OASISTypes.html">
<link title="OASISParse" rel="Chapter" href="OASISParse.html">
<link title="OASISValues" rel="Chapter" href="OASISValues.html">
<link title="OASISExpr" rel="Chapter" href="OASISExpr.html">
<link title="OASISVersion" rel="Chapter" href="OASISVersion.html">
<link title="OASISLicense" rel="Chapter" href="OASISLicense.html">
<link title="OASISFileTemplate" rel="Chapter" href="OASISFileTemplate.html">
<link title="OASISBuildSection" rel="Chapter" href="OASISBuildSection.html">
<link title="OASISDocument" rel="Chapter" href="OASISDocument.html">
<link title="OASISExecutable" rel="Chapter" href="OASISExecutable.html">
<link title="OASISFlag" rel="Chapter" href="OASISFlag.html">
<link title="OASISSetupUpdate" rel="Chapter" href="OASISSetupUpdate.html">
<link title="OASISLibrary" rel="Chapter" href="OASISLibrary.html">
<link title="OASISObject" rel="Chapter" href="OASISObject.html">
<link title="OASISPackage" rel="Chapter" href="OASISPackage.html">
<link title="OASISSourceRepository" rel="Chapter" href="OASISSourceRepository.html">
<link title="OASISTest" rel="Chapter" href="OASISTest.html">
<link title="OASISPlugin" rel="Chapter" href="OASISPlugin.html">
<link title="OASISFindlib" rel="Chapter" href="OASISFindlib.html">
<link title="OASISSchema" rel="Chapter" href="OASISSchema.html">
<link title="OASISSection" rel="Chapter" href="OASISSection.html">
<link title="OASISData" rel="Chapter" href="OASISData.html">
<link title="OASISString" rel="Chapter" href="OASISString.html">
<link title="OASISExec" rel="Chapter" href="OASISExec.html">
<link title="OASISFileUtil" rel="Chapter" href="OASISFileUtil.html">
<link title="OASISHostPath" rel="Chapter" href="OASISHostPath.html">
<link title="OASISGraph" rel="Chapter" href="OASISGraph.html">
<link title="OASISFeatures" rel="Chapter" href="OASISFeatures.html">
<link title="BaseArgExt" rel="Chapter" href="BaseArgExt.html">
<link title="BaseBuilt" rel="Chapter" href="BaseBuilt.html">
<link title="BaseCheck" rel="Chapter" href="BaseCheck.html">
<link title="BaseCustom" rel="Chapter" href="BaseCustom.html">
<link title="BaseData" rel="Chapter" href="BaseData.html">
<link title="BaseDoc" rel="Chapter" href="BaseDoc.html">
<link title="BaseEnvLight" rel="Chapter" href="BaseEnvLight.html">
<link title="BaseEnv" rel="Chapter" href="BaseEnv.html">
<link title="BaseFileAB" rel="Chapter" href="BaseFileAB.html">
<link title="BaseGenerate" rel="Chapter" href="BaseGenerate.html">
<link title="BaseLog" rel="Chapter" href="BaseLog.html">
<link title="BaseOCamlcConfig" rel="Chapter" href="BaseOCamlcConfig.html">
<link title="BaseSetup" rel="Chapter" href="BaseSetup.html">
<link title="BaseStandardVar" rel="Chapter" href="BaseStandardVar.html">
<link title="BaseTest" rel="Chapter" href="BaseTest.html">
<link title="BaseDynVar" rel="Chapter" href="BaseDynVar.html">
<link title="BaseMessage" rel="Chapter" href="BaseMessage.html">
<link title="BaseContext" rel="Chapter" href="BaseContext.html">
<link title="CLISubCommand" rel="Chapter" href="CLISubCommand.html">
<link title="CLIArgExt" rel="Chapter" href="CLIArgExt.html">
<link title="CLICommon" rel="Chapter" href="CLICommon.html">
<link title="CLIPager" rel="Chapter" href="CLIPager.html"><title>ODNFunc</title>
</head>
<body>
<div class="navbar"><a class="pre" href="FormatExt.html" title="FormatExt">Previous</a>
<a class="up" href="index.html" title="Index">Up</a>
<a class="post" href="PropList.html" title="PropList">Next</a>
</div>
<h1>Module <a href="type_ODNFunc.html">ODNFunc</a></h1>
<pre><span class="keyword">module</span> ODNFunc: <code class="code">sig</code> <a href="ODNFunc.html">..</a> <code class="code">end</code></pre><div class="info module top">
Dump function calls with ODN
<p>
The idea of this module is to store a function and its argument with the ODN
data structure that should be dumped. This allows to type in a way the
function to be dumped.
<p>
This module is <b>not exported</b>.<br>
<b>Author(s):</b> Sylvain Le Gall<br>
<b>See also</b> <a href="http://forge.ocamlcore.org/projects/odn">OCaml Data Notation project</a><br>
</div>
<hr width="100%">
<pre><code><span id="TYPEfunc"><span class="keyword">type</span> <code class="type">'a</code> func</span> = {</code></pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTfunc.func_call">func_call</span> : <code class="type">'a</code>;</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTfunc.func_name">func_name</span> : <code class="type">string</code>;</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTfunc.func_arg">func_arg</span> : <code class="type">ODN.t option</code>;</code></td>
</tr></table>
}
<div class="info ">
Function that can be generated using ODN
func_call = APP(func, [], <code class="code">func_arg</code>).<br>
</div>
<pre><span id="VALfunc"><span class="keyword">val</span> func</span> : <code class="type">'a -> string -> 'a <a href="ODNFunc.html#TYPEfunc">func</a></code></pre><div class="info ">
Return the OCaml function corresponding to a <code class="code">func</code>.<br>
</div>
<pre><span id="VALfunc_with_arg"><span class="keyword">val</span> func_with_arg</span> : <code class="type">('a -> 'b) -> string -> 'a -> ('a -> ODN.t) -> 'b <a href="ODNFunc.html#TYPEfunc">func</a></code></pre><div class="info ">
Create a func with an argument<br>
</div>
<pre><span id="VALodn_of_func"><span class="keyword">val</span> odn_of_func</span> : <code class="type">'a <a href="ODNFunc.html#TYPEfunc">func</a> -> ODN.t</code></pre><div class="info ">
Return the <code class="code">ODN.t</code> code corresponding to a <code class="code">func</code>.<br>
</div>
<pre><span id="VALfunc_call"><span class="keyword">val</span> func_call</span> : <code class="type">'a <a href="ODNFunc.html#TYPEfunc">func</a> -> 'a</code></pre><div class="info ">
Return the OCaml function corresponding to a <code class="code">func</code>.<br>
</div>
</body></html>
|