Skip to content

Commit e2ede62

Browse files
giacomocavalierilpil
authored andcommitted
Fix typos in gleam/list module's doc
1 parent 308f5be commit e2ede62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gleam/list.gleam

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ fn do_pop(haystack, predicate, checked) {
14141414
}
14151415
}
14161416

1417-
/// Removes the first element in a given list for which the predicate funtion returns `True`.
1417+
/// Removes the first element in a given list for which the predicate function returns `True`.
14181418
///
14191419
/// Returns `Error(Nil)` if no such element is found.
14201420
///
@@ -1702,7 +1702,7 @@ pub fn window_by_2(l: List(a)) -> List(#(a, a)) {
17021702
zip(l, drop(l, 1))
17031703
}
17041704

1705-
/// Drops the first elements in a given list for which the predicate funtion returns `True`.
1705+
/// Drops the first elements in a given list for which the predicate function returns `True`.
17061706
///
17071707
/// ## Examples
17081708
///
@@ -1740,7 +1740,7 @@ fn do_take_while(
17401740
}
17411741
}
17421742

1743-
/// Takes the first elements in a given list for which the predicate funtion returns `True`.
1743+
/// Takes the first elements in a given list for which the predicate function returns `True`.
17441744
///
17451745
/// ## Examples
17461746
///

0 commit comments

Comments
 (0)