From 8c2f0db7337328570af57461a3d95203537ac185 Mon Sep 17 00:00:00 2001 From: Estevan Castilho Date: Sat, 24 Oct 2026 03:35:20 +0000 Subject: Use finger trees in more places --- lib/kernel/Path.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/kernel/Path.ml') diff --git a/lib/kernel/Path.ml b/lib/kernel/Path.ml index 4dfba36..512cfb0 100644 --- a/lib/kernel/Path.ml +++ b/lib/kernel/Path.ml @@ -102,7 +102,7 @@ let assoc_all handle changes = | Some (_, key, _) -> Error (Error.overlapping_change (prefix @ [key])) | None -> let* children = - Utilities.List.concat_map + Utilities.List.concat_mapm (fun (x, beneath) -> let* dir = Handle.require Directory.from node in let* found = Directory.find dir x in @@ -150,7 +150,7 @@ let diff a b = let* left = names a in let* right = names b in List.sort_uniq String.compare (left @ right) - |> Utilities.List.concat_map (fun name -> + |> Utilities.List.concat_mapm (fun name -> let path = prefix @ [name] in let* x = find a name in let* y = find b name in -- cgit v1.2.3