Skip to content

Commit 6299fb3

Browse files
committedSep 25, 2021
Use efficient implementation of concat_map
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
1 parent 8902351 commit 6299fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎otherlibs/stdune-unstable/list.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let filteri l ~f =
3737
in
3838
filteri l 0
3939

40-
let concat_map l ~f = concat (map l ~f)
40+
let concat_map t ~f = ListLabels.concat_map t ~f
4141

4242
let unordered_concat =
4343
let rec outer acc = function

0 commit comments

Comments
 (0)