Skip to content
Newer
Older
100644 47 lines (38 sloc) 1.37 KB
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
1 (*
e51ec5d @OpaOnWindowsNow [enhance] optim,bslString: html string escaping
OpaOnWindowsNow authored May 16, 2012
2 Copyright © 2011, 2012 MLstate
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
3
6fac5ce @Aqua-Ye [cleanup] ocamllib: typo on Opa
Aqua-Ye authored Jul 9, 2012
4 This file is part of Opa.
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
5
6fac5ce @Aqua-Ye [cleanup] ocamllib: typo on Opa
Aqua-Ye authored Jul 9, 2012
6 Opa is free software: you can redistribute it and/or modify it under the
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
7 terms of the GNU Affero General Public License, version 3, as published by
8 the Free Software Foundation.
9
6fac5ce @Aqua-Ye [cleanup] ocamllib: typo on Opa
Aqua-Ye authored Jul 9, 2012
10 Opa is distributed in the hope that it will be useful, but WITHOUT ANY
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
13 more details.
14
15 You should have received a copy of the GNU Affero General Public License
6fac5ce @Aqua-Ye [cleanup] ocamllib: typo on Opa
Aqua-Ye authored Jul 9, 2012
16 along with Opa. If not, see <http://www.gnu.org/licenses/>.
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
17 *)
18 (** {6 From Ocaml Standard Library} *)
19
20 external code : char -> int = "%identity"
21 val chr : int -> char
22 val escaped : char -> string
23 val lowercase : char -> char
24 val uppercase : char -> char
25 type t = char
26 val compare : t -> t -> int
27 external unsafe_chr : int -> char = "%identity"
28
29 (** {6 Extra API} *)
30
31 val equal_insensitive : char -> char -> bool
32 val compare_insensitive : char -> char -> int
33 val width : char -> int
34 val is_digit : char -> bool
35 val is_lower : char -> bool
36 val is_upper : char -> bool
37 val is_alpha : char -> bool
38 (* val pred : char -> char *)
39 (* val succ : char -> char *)
40
41 (**
42 A space char : {[ ' ' ; '\t' ; '\r' ; '\n' ]}
43 *)
44 val is_space : char -> bool
45 val hexa_value : char -> int
e51ec5d @OpaOnWindowsNow [enhance] optim,bslString: html string escaping
OpaOnWindowsNow authored May 16, 2012
46 val cache : (char->bool) -> (char->bool)
Something went wrong with that request. Please try again.