Skip to content

Commit

Permalink
Use efficient implementation of concat_map
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg committed Sep 25, 2021
1 parent 8902351 commit 6299fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otherlibs/stdune-unstable/list.ml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let filteri l ~f =
in
filteri l 0

let concat_map l ~f = concat (map l ~f)
let concat_map t ~f = ListLabels.concat_map t ~f

let unordered_concat =
let rec outer acc = function
Expand Down

0 comments on commit 6299fb3

Please sign in to comment.