mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Drop unnecessary parens
This commit is contained in:
parent
f3b8025d8d
commit
46abf539bf
1 changed files with 1 additions and 1 deletions
|
@ -770,7 +770,7 @@ maxHelp = \list, initial ->
|
|||
## You may know a similar function named `concatMap` in other languages.
|
||||
joinMap : List a, (a -> List b) -> List b
|
||||
joinMap = \list, mapper ->
|
||||
List.walk list [] (\state, elem -> List.concat state (mapper elem))
|
||||
List.walk list [] \state, elem -> List.concat state (mapper elem)
|
||||
|
||||
## Returns the first element of the list satisfying a predicate function.
|
||||
## If no satisfying element is found, an `Err NotFound` is returned.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue