Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (60 sloc) 3.56 KB
<!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="OpamMisc.IntSet.html">
<link rel="next" href="OpamMisc.StringSet.html">
<link rel="Up" href="OpamMisc.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="OpamAlias" rel="Chapter" href="OpamAlias.html">
<link title="OpamClient" rel="Chapter" href="OpamClient.html">
<link title="OpamCompiler" rel="Chapter" href="OpamCompiler.html">
<link title="OpamFile" rel="Chapter" href="OpamFile.html">
<link title="OpamFilename" rel="Chapter" href="OpamFilename.html">
<link title="OpamFormat" rel="Chapter" href="OpamFormat.html">
<link title="OpamFormula" rel="Chapter" href="OpamFormula.html">
<link title="OpamMisc" rel="Chapter" href="OpamMisc.html">
<link title="OpamPackage" rel="Chapter" href="OpamPackage.html">
<link title="OpamParallel" rel="Chapter" href="OpamParallel.html">
<link title="OpamPath" rel="Chapter" href="OpamPath.html">
<link title="OpamProcess" rel="Chapter" href="OpamProcess.html">
<link title="OpamRepository" rel="Chapter" href="OpamRepository.html">
<link title="OpamSolver" rel="Chapter" href="OpamSolver.html">
<link title="OpamSystem" rel="Chapter" href="OpamSystem.html">
<link title="OpamTypes" rel="Chapter" href="OpamTypes.html">
<link title="OpamVariable" rel="Chapter" href="OpamVariable.html">
<link title="OpamVersion" rel="Chapter" href="OpamVersion.html"><title>OpamMisc.StringMap</title>
</head>
<body>
<div class="navbar"><a href="OpamMisc.IntSet.html">Previous</a>
&nbsp;<a href="OpamMisc.html">Up</a>
&nbsp;<a href="OpamMisc.StringSet.html">Next</a>
</div>
<center><h1>Module <a href="type_OpamMisc.StringMap.html">OpamMisc.StringMap</a></h1></center>
<br>
<pre><span class="keyword">module</span> StringMap: <code class="type"><a href="OpamMisc.MAP.html">MAP</a></code><code class="type"> with type key = string</code></pre>Map of strings<br>
<hr width="100%">
<pre><span class="keyword">include</span> Map.S</pre>
<pre><span id="VALto_string"><span class="keyword">val</span> to_string</span> : <code class="type">('a -> string) -> 'a t -> string</code></pre><div class="info">
Pretty-printing<br>
</div>
<pre><span id="VALvalues"><span class="keyword">val</span> values</span> : <code class="type">'a t -> 'a list</code></pre><div class="info">
Split with <code class="code">bindings</code> and return the <code class="code">snd</code> component.<br>
</div>
<br>
Same as <code class="code">merge</code> but only keys that appear in both maps
are given in the merging function<br>
<pre><span id="VALmerge_max"><span class="keyword">val</span> merge_max</span> : <code class="type">(key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a t</code></pre><div class="info">
WARNING : Besides <code class="code">key</code>, the function could receive
some <code class="code">v1</code> and some <code class="code">v2</code> such that <code class="code">v1 = v2</code> holds.<br>
</div>
<pre><span id="VALof_list"><span class="keyword">val</span> of_list</span> : <code class="type">(key * 'a) list -> 'a t</code></pre><div class="info">
Convert an assoc list to a map<br>
</div>
</body></html>
Something went wrong with that request. Please try again.