aboutsummaryrefslogtreecommitdiff
path: root/plugins/extraction/table.ml
diff options
context:
space:
mode:
authorletouzey2013-02-18 15:42:36 +0000
committerletouzey2013-02-18 15:42:36 +0000
commitddc9c1bd8e1eaae186468f093e467d8f2e1091cd (patch)
tree6543bbcdca657cfd315be224531f66fed5adb280 /plugins/extraction/table.ml
parent648c594489f8d0ffdde9596b87f5c1ff6ccef612 (diff)
use List.rev_map whenever possible
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16211 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/extraction/table.ml')
-rw-r--r--plugins/extraction/table.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/extraction/table.ml b/plugins/extraction/table.ml
index 51946871f6..9252ae0ec8 100644
--- a/plugins/extraction/table.ml
+++ b/plugins/extraction/table.ml
@@ -273,7 +273,7 @@ let safe_pr_long_global r =
let pr_long_mp mp =
let lid = Dir_path.repr (Nametab.dirpath_of_module mp) in
- str (String.concat "." (List.map Id.to_string (List.rev lid)))
+ str (String.concat "." (List.rev_map Id.to_string lid))
let pr_long_global ref = pr_path (Nametab.path_of_global ref)