Coccinelle release 1.0.0-rc12
[bpt/coccinelle.git] / bundles / extlib / extlib-1.5.2 / extLib.ml
1 (*
2 * ExtLib - use extensions as separate modules
3 * Copyright (C) 2003 Nicolas Cannasse
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version,
9 * with the special exception on linking described in file LICENSE.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *)
20
21 (*
22 Note:
23
24 Since ExtLib is provided for namespace convenience for
25 users who wants to keep the usage of the original
26 Ocaml Standard Library, no MLI CMI nor documentation will
27 be provided for this module.
28
29 Users can simply do an "open ExtLib" to import all Ext*
30 namespaces instead of doing "open ExtList" for example.
31
32 The trade-off is that they'll have to link all the modules
33 included below so the resulting binary is bigger.
34 *)
35
36 module List = ExtList.List
37 module String = ExtString.String
38 module Hashtbl = ExtHashtbl.Hashtbl
39 module Array = ExtArray.Array
40
41 exception Invalid_string = ExtString.Invalid_string
42
43 let (@) = ExtList.(@)
44
45 include Std