<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Localise (infer.Absint.Localise)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">Absint</a>» Localise</nav><h1>Module <code>Absint.Localise</code></h1></header><aside><p>Support for localisation</p></aside><divclass="spec module"id="module-Tags"><ahref="#module-Tags"class="anchor"></a><code><spanclass="keyword">module</span><ahref="Tags/index.html">Tags</a> : <spanclass="keyword">sig</span> ... <spanclass="keyword">end</span></code></div><dl><dtclass="spec type"id="type-error_desc"><ahref="#type-error_desc"class="anchor"></a><code><spanclass="keyword">type</span> error_desc</code><code> = </code><code>{</code><tableclass="record"><trid="type-error_desc.descriptions"class="anchored"><tdclass="def field"><ahref="#type-error_desc.descriptions"class="anchor"></a><code>descriptions : <span>string list</span>;</code></td></tr><trid="type-error_desc.tags"class="anchored"><tdclass="def field"><ahref="#type-error_desc.tags"class="anchor"></a><code>tags : <ahref="Tags/index.html#type-t">Tags.t</a>;</code></td></tr><trid="type-error_desc.dotty"class="anchored"><tdclass="def field"><ahref="#type-error_desc.dotty"class="anchor"></a><code>dotty : <span>string option</span>;</code></td></tr></table><code>}</code></dt><dd><p>description field of error messages</p></dd></dl><div><divclass="spec include"><divclass="doc"><dl><dtclass="spec value"id="val-compare_error_desc"><ahref="#val-compare_error_desc"class="anchor"></a><code><spanclass="keyword">val</span> compare_error_desc : <ahref="index.html#type-error_desc">error_desc</a><span>-></span><ahref="index.html#type-error_desc">error_desc</a><span>-></span> int</code></dt></dl></div></div></div><dl><dtclass="spec value"id="val-no_desc"><ahref="#val-no_desc"class="anchor"></a><code><spanclass="keyword">val</span> no_desc : <ahref="index.html#type-error_desc">error_desc</a></code></dt><dd><p>empty error description</p></dd></dl><dl><dtclass="spec value"id="val-verbatim_desc"><ahref="#val-verbatim_desc"class="anchor"></a><code><spanclass="keyword">val</span> verbatim_desc : string <span>-></span><ahref="index.html#type-error_desc">error_desc</a></code></dt><dd><p>verbatim desc from a string, not to be used for user-visible descs</p></dd></dl><divclass="spec module"id="module-BucketLevel"><ahref="#module-BucketLevel"class="anchor"></a><code><spanclass="keyword">module</span><ahref="BucketLevel/index.html">BucketLevel</a> : <spanclass="keyword">sig</span> ... <spanclass="keyword">end</span></code></div><dl><dtclass="spec value"id="val-error_desc_get_bucket"><ahref="#val-error_desc_get_bucket"class="anchor"></a><code><spanclass="keyword">val</span> error_desc_get_bucket : <ahref="index.html#type-error_desc">error_desc</a><span>-></span><span>string option</span></code></dt><dd><p>get the bucket value of an error_desc, if any</p></dd></dl><dl><dtclass="spec value"id="val-error_desc_set_bucket"><ahref="#val-error_desc_set_bucket"class="anchor"></a><code><spanclass="keyword">val</span> error_desc_set_bucket : <ahref="index.html#type-error_desc">error_desc</a><span>-></span> string <span>-></span><ahref="index.html#type-error_desc">error_desc</a></code></dt><dd><p>set the bucket value of an error_desc</p></dd></dl><dl><dtclass="spec value"id="val-error_desc_is_reportable_bucket"><ahref="#val-error_desc_is_reportable_bucket"class="anchor"></a><code><spanclass="keyword">val</span> error_desc_is_reportable_bucket : <ahref="index.html#type-error_desc">error_desc</a><span>-></span> bool</code></dt><dd><p>check if th