Skip to content

Commit 65fd256

Browse files
giacomocavalierilpil
authored andcommitted
Add type annotations
1 parent 6db1438 commit 65fd256

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gleam/list.gleam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,9 +2337,9 @@ pub fn sample(from list: List(a), up_to n: Int) -> List(a) {
23372337
}
23382338

23392339
fn sample_loop(
2340-
list,
2340+
list: List(a),
23412341
reservoir: Dict(Int, a),
2342-
k,
2342+
k: Int,
23432343
index: Int,
23442344
w: Float,
23452345
) -> Dict(Int, a) {

0 commit comments

Comments
 (0)