summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/browser/useunix.ml
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2000-04-12 03:43:25 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2000-04-12 03:43:25 +0000
commit780b65fca6ed06966864d76755dc1dad94c39ade (patch)
treea93efbe44a2b54752fbb4a0b2e994c0a4505b271 /otherlibs/labltk/browser/useunix.ml
parent975d4dc752a717b2da0bb0f3307af6635572d3c5 (diff)
nouvelle syntaxe avec tilde
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/browser/useunix.ml')
-rw-r--r--otherlibs/labltk/browser/useunix.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/otherlibs/labltk/browser/useunix.ml b/otherlibs/labltk/browser/useunix.ml
index 056bd6709..b17911091 100644
--- a/otherlibs/labltk/browser/useunix.ml
+++ b/otherlibs/labltk/browser/useunix.ml
@@ -30,18 +30,18 @@ let get_files_in_directory dir =
| None ->
closedir dirh; l
in
- Sort.list order:(<=) (get_them [])
+ Sort.list ~order:(<=) (get_them [])
let is_directory name =
try
(stat name).st_kind = S_DIR
with _ -> false
-let get_directories_in_files :path =
- List.filter f:(fun x -> is_directory (path ^ "/" ^ x))
+let get_directories_in_files ~path =
+ List.filter ~f:(fun x -> is_directory (path ^ "/" ^ x))
(************************************************** Subshell call *)
-let subshell :cmd =
+let subshell ~cmd =
let rc = open_process_in cmd in
let rec it l =
match