<!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="Up" href="CamomileLibrary.UCharInfo.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 class methods" rel=Appendix href="index_methods.html"> <link title="Index of classes" rel=Appendix href="index_classes.html"> <link title="Index of class types" rel=Appendix href="index_class_types.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="CamomileLibrary" rel="Chapter" href="CamomileLibrary.html"> <link title="CamomileLibraryDefault" rel="Chapter" href="CamomileLibraryDefault.html"> <link title="CamomileLibraryDyn" rel="Chapter" href="CamomileLibraryDyn.html"><title>CamomileLibrary.UCharInfo.Make</title> </head> <body> <div class="navbar"> <a class="up" href="CamomileLibrary.UCharInfo.html" title="CamomileLibrary.UCharInfo">Up</a> </div> <h1>Functor <a href="type_CamomileLibrary.UCharInfo.Make.html">CamomileLibrary.UCharInfo.Make</a></h1> <pre><span class="keyword">module</span> Make: <div class="sig_block"><code class="code">functor (</code><code class="code">Config</code><code class="code"> : </code><code class="type"><a href="CamomileLibrary.ConfigInt.Type.html">CamomileLibrary.ConfigInt.Type</a></code><code class="code">) -> </code><code class="type"><a href="CamomileLibrary.UCharInfo.Type.html">Type</a></code><code class="type"> </code></div></pre><table border="0" cellpadding="3" width="100%"> <tr> <td align="left" valign="top" width="1%%"><b>Parameters: </b></td> <td> <table class="paramstable"> <tr> <td align="center" valign="top" width="15%"> <code>Config</code></td> <td align="center" valign="top">:</td> <td><code class="type"><a href="CamomileLibrary.ConfigInt.Type.html">CamomileLibrary.ConfigInt.Type</a></code> </table> </td> </tr> </table> <hr width="100%"> <br> Character Information<br> <pre><span id="TYPEgeneral_category_type"><span class="keyword">type</span> <code class="type"></code>general_category_type</span> = <code class="type">[ `Cc<br> | `Cf<br> | `Cn<br> | `Co<br> | `Cs<br> | `Ll<br> | `Lm<br> | `Lo<br> | `Lt<br> | `Lu<br> | `Mc<br> | `Me<br> | `Mn<br> | `Nd<br> | `Nl<br> | `No<br> | `Pc<br> | `Pd<br> | `Pe<br> | `Pf<br> | `Pi<br> | `Po<br> | `Ps<br> | `Sc<br> | `Sk<br> | `Sm<br> | `So<br> | `Zl<br> | `Zp<br> | `Zs ]</code> </pre> <div class="info "> Type of Unicode general character categories. Each variant specifies<ul> <li><code class="code">`Lu</code> : Letter, Uppercase </li> <li><code class="code">`Ll</code> : Letter, Lowercase </li> <li><code class="code">`Lt</code> : Letter, Titlecase </li> <li><code class="code">`Mn</code> : Mark, Non-Spacing </li> <li><code class="code">`Mc</code> : Mark, Spacing Combining </li> <li><code class="code">`Me</code> : Mark, Enclosing </li> <li><code class="code">`Nd</code> : Number, Decimal Digit </li> <li><code class="code">`Nl</code> : Number, Letter </li> <li><code class="code">`No</code> : Number, Other </li> <li><code class="code">`Zs</code> : Separator, Space </li> <li><code class="code">`Zl</code> : Separator, Line </li> <li><code class="code">`Zp</code> : Separator, Paragraph </li> <li><code class="code">`Cc</code> : Other, Control </li> <li><code class="code">`Cf</code> : Other, Format </li> <li><code class="code">`Cs</code> : Other, Surrogate </li> <li><code class="code">`Co</code> : Other, Private Use </li> <li><code class="code">`Cn</code> : Other, Not Assigned </li> <li><code class="code">`Lm</code> : Letter, Modifier </li> <li><code class="code">`Lo</code> : Letter, Other </li> <li><code class="code">`Pc</code> : Punctuation, Connector </li> <li><code class="code">`Pd</code> : Punctuation, Dash </li> <li><code class="code">`Ps</code> : Punctuation, Open </li> <li><code class="code">`Pe</code> : Punctuation, Close </li> <li><code class="code">`Pi</code> : Punctuation, Initial</li> <li><code class="code">`Pf</code> : Punctuation, Final</li> <li><code class="code">`Po</code> : Punctuation, Other </li> <li><code class="code">`Sm</code> : Symbol, Math </li> <li><code class="code">`Sc</code> : Symbol, Currency </li> <li><code class="code">`Sk</code> : Symbol, Modifier </li> <li><code class="code">`So</code> : Symbol, Other</li> </ul> <br> </div> <pre><span id="VALgeneral_category"><span class="keyword">val</span> general_category</span> : <code class="type"><a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> -><br> <a href="CamomileLibrary.UCharInfo.Type.html#TYPEgeneral_category_type">general_category_type</a></code></pre> <pre><span id="VALload_general_category_map"><span class="keyword">val</span> load_general_category_map</span> : <code class="type">unit -><br> <a href="CamomileLibrary.UCharInfo.Type.html#TYPEgeneral_category_type">general_category_type</a> <a href="CamomileLibrary.UMap.html#TYPEt">CamomileLibrary.UMap.t</a></code></pre> <pre><span id="TYPEcharacter_property_type"><span class="keyword">type</span> <code class="type"></code>character_property_type</span> = <code class="type">[ `Alphabetic<br> | `Ascii_Hex_Digit<br> | `Bidi_Control<br> | `Default_Ignorable_Code_Point<br> | `Deprecated<br> | `Diacritic<br> | `Extender<br> | `Grapheme_Base<br> | `Grapheme_Extend<br> | `Grapheme_Link<br> | `Hex_Digit<br> | `Hyphen<br> | `IDS_Binary_Operator<br> | `IDS_Trinary_Operator<br> | `ID_Continue<br> | `ID_Start<br> | `Ideographic<br> | `Logical_Order_Exception<br> | `Lowercase<br> | `Math<br> | `Noncharacter_Code_Point<br> | `Other_Alphabetic<br> | `Other_Grapheme_Extend<br> | `Other_Lowercase<br> | `Other_Math<br> | `Other_Uppercase<br> | `Other_default_Ignorable_Code_Point<br> | `Quotation_Mark<br> | `Radical<br> | `Soft_Dotted<br> | `Terminal_Punctuation<br> | `Unified_Ideograph<br> | `Uppercase<br> | `White_Space<br> | `XID_Continue<br> | `XID_Start ]</code> </pre> <div class="info "> Type of character properties<br> </div> <pre><span id="VALload_property_tbl"><span class="keyword">val</span> load_property_tbl</span> : <code class="type"><a href="CamomileLibrary.UCharInfo.Type.html#TYPEcharacter_property_type">character_property_type</a> -><br> <a href="CamomileLibrary.UCharTbl.Bool.html#TYPEt">CamomileLibrary.UCharTbl.Bool.t</a></code></pre><div class="info "> Load the table for the given character type.<br> </div> <pre><span id="VALload_property_tbl_by_name"><span class="keyword">val</span> load_property_tbl_by_name</span> : <code class="type">string -> <a href="CamomileLibrary.UCharTbl.Bool.html#TYPEt">CamomileLibrary.UCharTbl.Bool.t</a></code></pre><div class="info "> Load the table for the given name of the character type. The name can be obtained by removing ` from its name of the polymorphic variant tag.<br> </div> <pre><span id="VALload_property_set"><span class="keyword">val</span> load_property_set</span> : <code class="type"><a href="CamomileLibrary.UCharInfo.Type.html#TYPEcharacter_property_type">character_property_type</a> -><br> <a href="CamomileLibrary.USet.html#TYPEt">CamomileLibrary.USet.t</a></code></pre><div class="info "> Load the set of characters of the given character type.<br> </div> <pre><span id="VALload_property_set_by_name"><span class="keyword">val</span> load_property_set_by_name</span> : <code class="type">string -> <a href="CamomileLibrary.USet.html#TYPEt">CamomileLibrary.USet.t</a></code></pre><div class="info "> Load the set of characters of the given name of the character type. The name can be obtained by removing ` from its name of the polymorphic variant tag.<br> </div> <pre><span id="TYPEscript_type"><span class="keyword">type</span> <code class="type"></code>script_type</span> = <code class="type">[ `Arabic<br> | `Armenian<br> | `Bengali<br> | `Bopomofo<br> | `Buhid<br> | `Canadian_Aboriginal<br> | `Cherokee<br> | `Common<br> | `Cyrillic<br> | `Deseret<br> | `Devanagari<br> | `Ethiopic<br> | `Georgian<br> | `Gothic<br> | `Greek<br> | `Gujarati<br> | `Gurmukhi<br> | `Han<br> | `Hangul<br> | `Hanunoo<br> | `Hebrew<br> | `Hiragana<br> | `Inherited<br> | `Kannada<br> | `Katakana<br> | `Khmer<br> | `Lao<br> | `Latin<br> | `Malayalam<br> | `Mongolian<br> | `Myanmar<br> | `Ogham<br> | `Old_Italic<br> | `Oriya<br> | `Runic<br> | `Sinhala<br> | `Syriac<br> | `Tagalog<br> | `Tagbanwa<br> | `Tamil<br> | `Telugu<br> | `Thaana<br> | `Thai<br> | `Tibetan<br> | `Yi ]</code> </pre> <div class="info "> Type for script type<br> </div> <pre><span id="VALscript"><span class="keyword">val</span> script</span> : <code class="type"><a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> -> <a href="CamomileLibrary.UCharInfo.Type.html#TYPEscript_type">script_type</a></code></pre> <pre><span id="VALload_script_map"><span class="keyword">val</span> load_script_map</span> : <code class="type">unit -> <a href="CamomileLibrary.UCharInfo.Type.html#TYPEscript_type">script_type</a> <a href="CamomileLibrary.UMap.html#TYPEt">CamomileLibrary.UMap.t</a></code></pre> <pre><span id="TYPEversion_type"><span class="keyword">type</span> <code class="type"></code>version_type</span> = <code class="type">[ `Nc | `v1_0 | `v1_1 | `v2_0 | `v2_1 | `v3_0 | `v3_1 | `v3_2 ]</code> </pre> <div class="info "> age<br> </div> <pre><span id="VALage"><span class="keyword">val</span> age</span> : <code class="type"><a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> -> <a href="CamomileLibrary.UCharInfo.Type.html#TYPEversion_type">version_type</a></code></pre><div class="info "> <code class="code">age c</code> unicode version in wich <code class="code">c</code> was introduced <p> <code class="code">older v1 v2</code> is <code class="code">true</code> if <code class="code">v1</code> is older ( or the same version ) than <code class="code">v2</code>. Everithing is older than <code class="code">`Nc</code><br> </div> <pre><span id="VALolder"><span class="keyword">val</span> older</span> : <code class="type"><a href="CamomileLibrary.UCharInfo.Type.html#TYPEversion_type">version_type</a> -><br> <a href="CamomileLibrary.UCharInfo.Type.html#TYPEversion_type">version_type</a> -> bool</code></pre><br> casing<br> <pre><span id="VALload_to_lower1_tbl"><span class="keyword">val</span> load_to_lower1_tbl</span> : <code class="type">unit -> <a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> <a href="CamomileLibrary.UCharTbl.html#TYPEt">CamomileLibrary.UCharTbl.t</a></code></pre> <pre><span id="VALload_to_upper1_tbl"><span class="keyword">val</span> load_to_upper1_tbl</span> : <code class="type">unit -> <a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> <a href="CamomileLibrary.UCharTbl.html#TYPEt">CamomileLibrary.UCharTbl.t</a></code></pre> <pre><span id="VALload_to_title1_tbl"><span class="keyword">val</span> load_to_title1_tbl</span> : <code class="type">unit -> <a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> <a href="CamomileLibrary.UCharTbl.html#TYPEt">CamomileLibrary.UCharTbl.t</a></code></pre> <pre><span id="TYPEcasemap_condition"><span class="keyword">type</span> <code class="type"></code>casemap_condition</span> = <code class="type">[ `AfterSoftDotted<br> | `BeforeDot<br> | `FinalSigma<br> | `Locale of string<br> | `MoreAbove<br> | `Not of <a href="CamomileLibrary.UCharInfo.Type.html#TYPEcasemap_condition">casemap_condition</a> ]</code> </pre> <pre><code><span id="TYPEspecial_casing_property"><span class="keyword">type</span> <code class="type"></code>special_casing_property</span> = {</code></pre><table class="typetable"> <tr> <td align="left" valign="top" > <code> </code></td> <td align="left" valign="top" > <code><span id="TYPEELTspecial_casing_property.lower">lower</span> : <code class="type"><a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> list</code>;</code></td> </tr> <tr> <td align="left" valign="top" > <code> </code></td> <td align="left" valign="top" > <code><span id="TYPEELTspecial_casing_property.title">title</span> : <code class="type"><a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> list</code>;</code></td> </tr> <tr> <td align="left" valign="top" > <code> </code></td> <td align="left" valign="top" > <code><span id="TYPEELTspecial_casing_property.upper">upper</span> : <code class="type"><a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> list</code>;</code></td> </tr> <tr> <td align="left" valign="top" > <code> </code></td> <td align="left" valign="top" > <code><span id="TYPEELTspecial_casing_property.condition">condition</span> : <code class="type"><a href="CamomileLibrary.UCharInfo.Type.html#TYPEcasemap_condition">casemap_condition</a> list</code>;</code></td> </tr></table> } <pre><span id="VALload_conditional_casing_tbl"><span class="keyword">val</span> load_conditional_casing_tbl</span> : <code class="type">unit -><br> <a href="CamomileLibrary.UCharInfo.Type.html#TYPEspecial_casing_property">special_casing_property</a> list<br> <a href="CamomileLibrary.UCharTbl.html#TYPEt">CamomileLibrary.UCharTbl.t</a></code></pre> <pre><span id="VALload_casefolding_tbl"><span class="keyword">val</span> load_casefolding_tbl</span> : <code class="type">unit -> <a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> list <a href="CamomileLibrary.UCharTbl.html#TYPEt">CamomileLibrary.UCharTbl.t</a></code></pre> <pre><span id="VALcombined_class"><span class="keyword">val</span> combined_class</span> : <code class="type"><a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> -> int</code></pre><div class="info "> Combined class A combined class is an integer of 0 -- 255, showing how this character interacts to other combined characters.<br> </div> <br> Decomposition<br> <pre><span id="TYPEdecomposition_type"><span class="keyword">type</span> <code class="type"></code>decomposition_type</span> = <code class="type">[ `Canon<br> | `Circle<br> | `Compat<br> | `Final<br> | `Font<br> | `Fraction<br> | `Initial<br> | `Isolated<br> | `Medial<br> | `Narrow<br> | `NoBreak<br> | `Small<br> | `Square<br> | `Sub<br> | `Super<br> | `Vertical<br> | `Wide ]</code> </pre> <div class="info "> Types of decomposition.<br> </div> <pre><span id="TYPEdecomposition_info"><span class="keyword">type</span> <code class="type"></code>decomposition_info</span> = <code class="type">[ `Canonform<br> | `Composite of<br> <a href="CamomileLibrary.UCharInfo.Type.html#TYPEdecomposition_type">decomposition_type</a> *<br> <a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> list<br> | `HangulSyllable ]</code> </pre> <pre><span id="VALload_decomposition_tbl"><span class="keyword">val</span> load_decomposition_tbl</span> : <code class="type">unit -><br> <a href="CamomileLibrary.UCharInfo.Type.html#TYPEdecomposition_info">decomposition_info</a> <a href="CamomileLibrary.UCharTbl.html#TYPEt">CamomileLibrary.UCharTbl.t</a></code></pre><br> Canonical Composition<br> <pre><span id="VALload_composition_tbl"><span class="keyword">val</span> load_composition_tbl</span> : <code class="type">unit -><br> (<a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a> * <a href="CamomileLibrary.UChar.html#TYPEt">CamomileLibrary.UChar.t</a>) list<br> <a href="CamomileLibrary.UCharTbl.html#TYPEt">CamomileLibrary.UCharTbl.t</a></code></pre><div class="info "> The return value <code class="code">[(u_1, u'_1); ... (u_n, u'_1)]</code> means for the given character <code class="code">u</code>, <code class="code">u u_i</code> forms the canonical composition <code class="code">u'_i</code>. If u is a Hangul jamo, composition returns [].<br> </div> <pre><span id="VALload_composition_exclusion_tbl"><span class="keyword">val</span> load_composition_exclusion_tbl</span> : <code class="type">unit -> <a href="CamomileLibrary.UCharTbl.Bool.html#TYPEt">CamomileLibrary.UCharTbl.Bool.t</a></code></pre><div class="info "> Whether the given composed character is used in NFC or NFKC<br> </div> </body></html>