From 780b65fca6ed06966864d76755dc1dad94c39ade Mon Sep 17 00:00:00 2001 From: Jacques Garrigue Date: Wed, 12 Apr 2000 03:43:25 +0000 Subject: nouvelle syntaxe avec tilde git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/labltk/browser/useunix.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'otherlibs/labltk/browser/useunix.ml') 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 -- cgit v1.2.3-70-g09d2