Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit 0602a08

Browse files
committed
DCE
1 parent 2a4f450 commit 0602a08

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Utils.ml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,3 @@ let filterMap f =
9393
match f x with None -> aux accu l | Some v -> aux (v :: accu) l)
9494
in
9595
aux []
96-
97-
let filterMapIndex f =
98-
let rec aux accu i = function
99-
| [] -> List.rev accu
100-
| x :: l -> (
101-
match f i x with
102-
| None -> aux accu i l
103-
| Some v -> aux (v :: accu) (i + 1) l)
104-
in
105-
aux [] 0

0 commit comments

Comments
 (0)