aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/nameops.ml
diff options
context:
space:
mode:
authorGravatar Matej Kosik <matej.kosik@inria.fr>2016-10-18 10:58:42 +0200
committerGravatar Matej Kosik <matej.kosik@inria.fr>2016-10-19 13:48:52 +0200
commit7b4dbbb83e3da2fe716dacad627ddd3497653f07 (patch)
tree2d3d81fc36bc1180e2244fa9a02b8e7ae8516d2f /library/nameops.ml
parentad81c04a923c594b7a893f08bb5571a6db74c92a (diff)
CLEANUP: rename "Nameops.lift_subscript" to "Nameops.increment_subscript".
The word "increment" is more appropriate in this case than "lifting". The world "lifting", in computer science, usually denotes something else: https://en.wikipedia.org/wiki/Lambda_lifting
Diffstat (limited to 'library/nameops.ml')
-rw-r--r--library/nameops.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/nameops.ml b/library/nameops.ml
index 71405d024..f3c257001 100644
--- a/library/nameops.ml
+++ b/library/nameops.ml
@@ -69,7 +69,7 @@ let root_of_id id =
(* Rem: semantics is a bit different, if an ident starts with toto00 then
after successive renamings it comes to toto09, then it goes on with toto10 *)
-let lift_subscript id =
+let increment_subscript id =
let id = Id.to_string id in
let len = String.length id in
let rec add carrypos =