diff options
author | 2013-02-18 15:42:36 +0000 | |
---|---|---|
committer | 2013-02-18 15:42:36 +0000 | |
commit | ddc9c1bd8e1eaae186468f093e467d8f2e1091cd (patch) | |
tree | 6543bbcdca657cfd315be224531f66fed5adb280 /interp/coqlib.ml | |
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 'interp/coqlib.ml')
-rw-r--r-- | interp/coqlib.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/coqlib.ml b/interp/coqlib.ml index 92a268796..b0a9831b7 100644 --- a/interp/coqlib.ml +++ b/interp/coqlib.ml @@ -21,7 +21,7 @@ open Smartlocate type message = string -let make_dir l = Dir_path.make (List.map Id.of_string (List.rev l)) +let make_dir l = Dir_path.make (List.rev_map Id.of_string l) let find_reference locstr dir s = let sp = Libnames.make_path (make_dir dir) (Id.of_string s) in |