diff options
| author | letouzey | 2013-02-18 15:42:36 +0000 |
|---|---|---|
| committer | letouzey | 2013-02-18 15:42:36 +0000 |
| commit | ddc9c1bd8e1eaae186468f093e467d8f2e1091cd (patch) | |
| tree | 6543bbcdca657cfd315be224531f66fed5adb280 /kernel | |
| parent | 648c594489f8d0ffdde9596b87f5c1ff6ccef612 (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 'kernel')
| -rw-r--r-- | kernel/nativecode.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/nativecode.ml b/kernel/nativecode.ml index 9fee03ca1d..04a0630449 100644 --- a/kernel/nativecode.ml +++ b/kernel/nativecode.ml @@ -936,7 +936,7 @@ let string_of_label l = Unicode.ascii_of_ident (string_of_label l) let string_of_dirpath = function | [] -> "_" - | sl -> String.concat "_" (List.map string_of_id (List.rev sl)) + | sl -> String.concat "_" (List.rev_map string_of_id sl) (* The first letter of the file name has to be a capital to be accepted by *) (* OCaml as a module identifier. *) |
