diff options
author | Giacomo Cavalieri <giacomo.cavalieri@icloud.com> | 2023-05-20 20:44:22 +0200 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-05-22 12:34:10 +0100 |
commit | e2ede62f8d09d4c1674277f50cd4dea3dee4d014 (patch) | |
tree | 14283d890b99d743cdd94ea49dcb7fe02f132cb5 /src | |
parent | 308f5be01e2f9c8db047b8c556ea75745345a908 (diff) | |
download | gleam_stdlib-e2ede62f8d09d4c1674277f50cd4dea3dee4d014.tar.gz gleam_stdlib-e2ede62f8d09d4c1674277f50cd4dea3dee4d014.zip |
Fix typos in `gleam/list` module's doc
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/list.gleam | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam index e643976..b7b0186 100644 --- a/src/gleam/list.gleam +++ b/src/gleam/list.gleam @@ -1414,7 +1414,7 @@ fn do_pop(haystack, predicate, checked) { } } -/// Removes the first element in a given list for which the predicate funtion returns `True`. +/// Removes the first element in a given list for which the predicate function returns `True`. /// /// Returns `Error(Nil)` if no such element is found. /// @@ -1702,7 +1702,7 @@ pub fn window_by_2(l: List(a)) -> List(#(a, a)) { zip(l, drop(l, 1)) } -/// Drops the first elements in a given list for which the predicate funtion returns `True`. +/// Drops the first elements in a given list for which the predicate function returns `True`. /// /// ## Examples /// @@ -1740,7 +1740,7 @@ fn do_take_while( } } -/// Takes the first elements in a given list for which the predicate funtion returns `True`. +/// Takes the first elements in a given list for which the predicate function returns `True`. /// /// ## Examples /// |