Coccinelle release 1.0.0-rc13
[bpt/coccinelle.git] / bundles / sexplib / sexplib-7.0.5 / lib / std.ml
CommitLineData
feec80c3
C
1(******************************************************************************
2 * Sexplib *
3 * *
4 * Copyright (C) 2005- Jane Street Holding, LLC *
5 * Contact: opensource@janestreet.com *
6 * WWW: http://www.janestreet.com/ocaml *
7 * Author: Markus Mottl *
8 * *
9 * This library is free software; you can redistribute it and/or *
10 * modify it under the terms of the GNU Lesser General Public *
11 * License as published by the Free Software Foundation; either *
12 * version 2 of the License, or (at your option) any later version. *
13 * *
14 * This library is distributed in the hope that it will be useful, *
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
17 * Lesser General Public License for more details. *
18 * *
19 * You should have received a copy of the GNU Lesser General Public *
20 * License along with this library; if not, write to the Free Software *
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
22 * *
23 ******************************************************************************)
24
25module Hashtbl = struct
26 include Hashtbl
27
28 let sexp_of_t = Conv.sexp_of_hashtbl
29 let t_of_sexp = Conv.hashtbl_of_sexp
30end
31
32module Big_int = struct
33 include Big_int
34
35 let sexp_of_big_int = Conv.sexp_of_big_int
36 let big_int_of_sexp = Conv.big_int_of_sexp
37end
38
39module Nat = struct
40 include Nat
41
42 let sexp_of_nat = Conv.sexp_of_nat
43 let nat_of_sexp = Conv.nat_of_sexp
44end
45
46module Num = struct
47 include Num
48
49 let sexp_of_num = Conv.sexp_of_num
50 let num_of_sexp = Conv.num_of_sexp
51end
52
53module Ratio = struct
54 include Ratio
55
56 let sexp_of_ratio = Conv.sexp_of_ratio
57 let ratio_of_sexp = Conv.ratio_of_sexp
58end
59
60module Lazy = struct
61 include Lazy
62
63 let t_of_sexp = Conv.lazy_t_of_sexp
64 let sexp_of_t = Conv.sexp_of_lazy_t
65end
66
67let sexp_of_unit = Conv.sexp_of_unit
68let unit_of_sexp = Conv.unit_of_sexp
69
70let bool_of_sexp = Conv.bool_of_sexp
71let sexp_of_bool = Conv.sexp_of_bool
72
73let string_of_sexp = Conv.string_of_sexp
74let sexp_of_string = Conv.sexp_of_string
75
76let char_of_sexp = Conv.char_of_sexp
77let sexp_of_char = Conv.sexp_of_char
78
79let int_of_sexp = Conv.int_of_sexp
80let sexp_of_int = Conv.sexp_of_int
81
82let float_of_sexp = Conv.float_of_sexp
83let sexp_of_float = Conv.sexp_of_float
84
85let int32_of_sexp = Conv.int32_of_sexp
86let sexp_of_int32 = Conv.sexp_of_int32
87
88let int64_of_sexp = Conv.int64_of_sexp
89let sexp_of_int64 = Conv.sexp_of_int64
90
91let nativeint_of_sexp = Conv.nativeint_of_sexp
92let sexp_of_nativeint = Conv.sexp_of_nativeint
93
94let sexp_of_ref = Conv.sexp_of_ref
95let ref_of_sexp = Conv.ref_of_sexp
96
97let sexp_of_lazy_t = Conv.sexp_of_lazy_t
98let lazy_t_of_sexp = Conv.lazy_t_of_sexp
99
100let option_of_sexp = Conv.option_of_sexp
101let sexp_of_option = Conv.sexp_of_option
102
103let list_of_sexp = Conv.list_of_sexp
104let sexp_of_list = Conv.sexp_of_list
105
106let array_of_sexp = Conv.array_of_sexp
107let sexp_of_array = Conv.sexp_of_array
108
109let sexp_of_exn = Conv.sexp_of_exn