source: lab.git/Dev/sakura-editor/OCaml2.kwd @ 3c848da

Last change on this file since 3c848da was 0774b70, checked in by mitty <mitty@…>, 13 years ago

git-svn-id: https://lab.mitty.jp/svn/lab/trunk@124 7d2118f6-f56c-43e7-95a2-4bb3031d96e7

  • Property mode set to 100644
File size: 2.0 KB
Line 
1// OCaml keywords definition file
2
3// Exceptions
4raise
5invalid_arg
6failwith
7Exit
8
9// Comparisons
10(=)
11(<>)
12(<)
13(>)
14(<=)
15(>=)
16compare
17min
18max
19(==)
20(!=)
21
22// Boolean operations
23not
24(&&)
25(&)
26(||)
27(or)
28
29// Integer arithmetic
30(~-)
31(~+)
32succ
33pred
34(+)
35(-)
36( * )
37(/)
38(mod)
39abs
40max_int
41min_int
42
43// Bitwise operations
44(land)
45(lor)
46(lxor)
47lnot
48(lsl)
49(lsr)
50(asr)
51
52// Floating-point arithmetic
53(~-.)
54(~+.)
55(+.)
56(-.)
57( *. )
58(/.)
59( ** )
60sqrt
61exp
62log
63log10
64expm1
65log1p
66cos
67sin
68tan
69acos
70asin
71atan
72atan2
73cosh
74sinh
75tanh
76ceil
77floor
78abs_float
79mod_float
80frexp
81ldexp
82modf
83float
84float_of_int
85truncate
86int_of_float
87infinity
88neg_infinity
89nan
90max_float
91min_float
92epsilon_float
93classify_float
94
95// String operations
96(^)
97
98// Character operations
99int_of_char
100char_of_int
101
102// Unit operations
103ignore
104
105// String conversion functions
106string_of_bool
107bool_of_string
108string_of_int
109int_of_string
110string_of_float
111float_of_string
112
113// Pair operations
114fst
115snd
116
117// List operations
118(@)
119
120// Input/output
121stdin
122stdout
123stderr
124
125// Output functions on standard output
126print_char
127print_string
128print_int
129print_float
130print_endline
131print_newline
132
133// Output functions on standard error
134prerr_char
135prerr_string
136prerr_int
137prerr_float
138prerr_endline
139prerr_newline
140
141// Input functions on standard input
142read_line
143read_int
144read_float
145
146// General output functions
147open_out
148open_out_bin
149open_out_gen
150flush
151flush_all
152output_char
153output_string
154output
155output_byte
156output_binary_int
157output_value
158seek_out
159pos_out
160out_channel_length
161close_out
162close_out_noerr
163set_binary_mode_out
164
165// General input functions
166open_in
167open_in_bin
168open_in_gen
169input_char
170input_line
171input
172really_input
173input_byte
174input_binary_int
175input_value
176seek_in
177pos_in
178in_channel_length
179close_in
180close_in_noerr
181set_binary_mode_in
182
183// References
184ref
185(!)
186(:=)
187incr
188decr
189
190// Operations on format strings
191string_of_format
192format_of_string
193(^^)
194
195// Program termination
196exit
197at_exit
Note: See TracBrowser for help on using the repository browser.