aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/unicode.mli
diff options
context:
space:
mode:
authorGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2014-05-05 18:54:09 +0200
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2015-01-11 09:49:32 +0100
commite135bbb71b0e496c016aa89701bd4050cba49f5e (patch)
tree520565c1ceb2719d2d07b771591be363b150f59f /lib/unicode.mli
parent063fbe9077e6b75f327dd105774c3b3b77bda5c9 (diff)
Extraction: no more ascii blob in type variables (fix #3227)
Since type variables are local to the definition, we simply rename them in case of unicode chars. We also get rid of any ' to avoid Ocaml illegal 'a' type var (clash with char litteral).
Diffstat (limited to 'lib/unicode.mli')
-rw-r--r--lib/unicode.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unicode.mli b/lib/unicode.mli
index 763123306..2c6b0a796 100644
--- a/lib/unicode.mli
+++ b/lib/unicode.mli
@@ -24,4 +24,5 @@ val ident_refutation : string -> (bool * string) option
val lowercase_first_char : string -> string
(** For extraction, turn a unicode string into an ascii-only one *)
+val is_basic_ascii : string -> bool
val ascii_of_ident : string -> string