Skip to content

Commit 3f52573

Browse files
committed
Update function names
1 parent 2d54f83 commit 3f52573

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jscomp/others/belt_Either.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ let rights xs =
7171
| Right r -> List.append acc [r]
7272
) [] xs
7373

74-
let array_lefts xs =
74+
let arrayLefts xs =
7575
Array.fold_left(fun acc x ->
7676
match x with
7777
| Left l -> Array.append acc [|l|]
7878
| Right r -> acc
7979
) [||] xs
8080

81-
let array_rights xs =
81+
let arrayRights xs =
8282
Array.fold_left(fun acc x ->
8383
match x with
8484
| Left l -> acc

jscomp/others/belt_Either.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ val fold : ('b -> 'c -> 'c) -> 'c -> ('a, 'b) t -> 'c
3737

3838
val lefts: (('a, 'b) t) list -> 'a list
3939
val rights: (('a, 'b) t) list -> 'b list
40-
val array_lefts: (('a, 'b) t) array -> 'a array
41-
val array_rights: (('a, 'b) t) array -> 'b array
40+
val arrayLefts: (('a, 'b) t) array -> 'a array
41+
val arrayRights: (('a, 'b) t) array -> 'b array

0 commit comments

Comments
 (0)