Skip to content

Commit

Permalink
Clarify documentation for 'list.group'
Browse files Browse the repository at this point in the history
  • Loading branch information
voneiden authored and lpil committed Nov 15, 2024
1 parent 240cc72 commit ec9cc3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gleam/list.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,7 @@ pub fn rest(list: List(a)) -> Result(List(a), Nil) {
}
}

/// Takes a list and groups the values by a key
/// which is built from a key function.
/// Groups the elements from the given list by the given key function.
///
/// Does not preserve the initial value order.
///
Expand Down

0 comments on commit ec9cc3f

Please sign in to comment.