aboutsummaryrefslogtreecommitdiff
path: root/plugins/extraction/haskell.ml
diff options
context:
space:
mode:
authorPierre Letouzey2017-02-05 01:46:41 +0100
committerPierre Letouzey2017-02-07 22:56:56 +0100
commit69c4e7cfa0271f024b2178082e4be2e3ca3be263 (patch)
tree011f39f68dcc1da8c622adf32931ca084a2f8c15 /plugins/extraction/haskell.ml
parent8ef3bc0e8a65b3a0338da39aa54cd75b1c2c1bb7 (diff)
Extraction: avoid deprecated functions of module String
- A few tweaks of string are now done via the Bytes module - lots of String.capitalize_ascii and co
Diffstat (limited to 'plugins/extraction/haskell.ml')
-rw-r--r--plugins/extraction/haskell.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/extraction/haskell.ml b/plugins/extraction/haskell.ml
index 0692c88cd1..83bb2e135e 100644
--- a/plugins/extraction/haskell.ml
+++ b/plugins/extraction/haskell.ml
@@ -21,8 +21,8 @@ open Common
(*s Haskell renaming issues. *)
-let pr_lower_id id = str (String.uncapitalize (Id.to_string id))
-let pr_upper_id id = str (String.capitalize (Id.to_string id))
+let pr_lower_id id = str (String.uncapitalize_ascii (Id.to_string id))
+let pr_upper_id id = str (String.capitalize_ascii (Id.to_string id))
let keywords =
List.fold_right (fun s -> Id.Set.add (Id.of_string s))