man-pages/man3/Identifiable.Map.3o.html
2021-03-31 01:06:50 +01:00

222 lines
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Identifiable.Map</TITLE>
</HEAD><BODY>
<H1>Identifiable.Map</H1>
Section: OCaml library (3o)<BR>Updated: 2020-01-30<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
Identifiable.Map - no description
<A NAME="lbAC">&nbsp;</A>
<H2>Module type</H2>
Module type Identifiable.Map
<A NAME="lbAD">&nbsp;</A>
<H2>Documentation</H2>
<P>
Module type
<B>Map</B>
<BR>&nbsp;=&nbsp;
<B>sig end</B>
<P>
<P>
<P>
<P>
<P>
<P>
<P>
<I>module T : </I>
<B>Map.OrderedType</B>
<P>
<P>
<P>
<P>
<I>include Map.S</I>
<P>
<P>
<P>
<P>
<I>val filter_map </I>
:
<B>'a t -&gt; f:(key -&gt; 'a -&gt; 'b option) -&gt; 'b t</B>
<P>
<P>
<P>
<P>
<I>val of_list </I>
:
<B>(key * 'a) list -&gt; 'a t</B>
<P>
<P>
<P>
<P>
<I>val disjoint_union </I>
:
<B>?eq:('a -&gt; 'a -&gt; bool) -&gt;</B>
<B>?print:(Format.formatter -&gt; 'a -&gt; unit) -&gt; 'a t -&gt; 'a t -&gt; 'a t</B>
<P>
<P>
<B>disjoint_union m1 m2</B>
contains all bindings from
<B>m1</B>
and
<B>m2</B>
. If some binding is present in both and the associated
value is not equal, a Fatal_error is raised
<P>
<P>
<P>
<I>val union_right </I>
:
<B>'a t -&gt; 'a t -&gt; 'a t</B>
<P>
<P>
<B>union_right m1 m2</B>
contains all bindings from
<B>m1</B>
and
<B>m2</B>
. If
some binding is present in both, the one from
<B>m2</B>
is taken
<P>
<P>
<P>
<I>val union_left </I>
:
<B>'a t -&gt; 'a t -&gt; 'a t</B>
<P>
<P>
<B>union_left m1 m2 = union_right m2 m1</B>
<P>
<P>
<P>
<P>
<I>val union_merge </I>
:
<B>('a -&gt; 'a -&gt; 'a) -&gt; 'a t -&gt; 'a t -&gt; 'a t</B>
<P>
<P>
<P>
<P>
<I>val rename </I>
:
<B>key t -&gt; key -&gt; key</B>
<P>
<P>
<P>
<P>
<I>val map_keys </I>
:
<B>(key -&gt; key) -&gt; 'a t -&gt; 'a t</B>
<P>
<P>
<P>
<P>
<I>val keys </I>
:
<B>'a t -&gt; Stdlib.Set.Make(T).t</B>
<P>
<P>
<P>
<P>
<I>val data </I>
:
<B>'a t -&gt; 'a list</B>
<P>
<P>
<P>
<P>
<I>val of_set </I>
:
<B>(key -&gt; 'a) -&gt; Stdlib.Set.Make(T).t -&gt; 'a t</B>
<P>
<P>
<P>
<P>
<I>val transpose_keys_and_data </I>
:
<B>key t -&gt; key t</B>
<P>
<P>
<P>
<P>
<I>val transpose_keys_and_data_set </I>
:
<B>key t -&gt; Stdlib.Set.Make(T).t t</B>
<P>
<P>
<P>
<P>
<I>val print </I>
:
<B>(Format.formatter -&gt; 'a -&gt; unit) -&gt;</B>
<B>Format.formatter -&gt; 'a t -&gt; unit</B>
<P>
<P>
<P>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">Module type</A><DD>
<DT id="3"><A HREF="#lbAD">Documentation</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:46 GMT, March 31, 2021
</BODY>
</HTML>