| 1 | (**************************************************************************) |
| 2 | (* *) |
| 3 | (* OCaml *) |
| 4 | (* *) |
| 5 | (* Jacques Garrigue, Kyoto University RIMS *) |
| 6 | (* *) |
| 7 | (* Copyright 2001 Institut National de Recherche en Informatique et *) |
| 8 | (* en Automatique. *) |
| 9 | (* *) |
| 10 | (* All rights reserved. This file is distributed under the terms of *) |
| 11 | (* the GNU Lesser General Public License version 2.1, with the *) |
| 12 | (* special exception on linking described in the file LICENSE. *) |
| 13 | (* *) |
| 14 | (**************************************************************************) |
| 15 | |
| 16 | (* NOTE: Do not edit this file directly. Edit templates/ and run |
| 17 | tools/sync_stdlib_docs *) |
| 18 | |
| 19 | (** Extra labeled libraries. |
| 20 | |
| 21 | This meta-module provides labelized versions of the {!Hashtbl}, {!Map} and |
| 22 | {!Set} modules. |
| 23 | |
| 24 | This module is intended to be used through [open MoreLabels] which replaces |
| 25 | {!Hashtbl}, {!Map}, and {!Set} with their labeled counterparts. |
| 26 | |
| 27 | For example: |
| 28 | {[ |
| 29 | open MoreLabels |
| 30 | |
| 31 | Hashtbl.iter ~f:(fun ~key ~data -> g key data) table |
| 32 | ]} |
| 33 | *) |
| 34 | |
| 35 | module Hashtbl : sig |
| 36 | HASHTBL |
| 37 | end |
| 38 | |
| 39 | module Map : sig |
| 40 | MAP |
| 41 | end |
| 42 | |
| 43 | module Set : sig |
| 44 | SET |
| 45 | end |