mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 18:58:24 +03:00
Fix an unused argument in an FAQ entry
This commit is contained in:
parent
cd7a031d09
commit
66e47c3293
6
FAQ.md
6
FAQ.md
@ -293,8 +293,8 @@ The way `|>` works in Roc has a second benefit when it comes to higher-order fun
|
||||
answer = List.map numbers \num ->
|
||||
someFunction
|
||||
"some argument"
|
||||
num
|
||||
anotherArg
|
||||
someOtherArg
|
||||
```
|
||||
|
||||
```elixir
|
||||
@ -312,8 +312,8 @@ This means the first example would have to change from this...
|
||||
answer = List.map numbers \num ->
|
||||
someFunction
|
||||
"some argument"
|
||||
num
|
||||
anotherArg
|
||||
someOtherArg
|
||||
```
|
||||
|
||||
...to this:
|
||||
@ -324,8 +324,8 @@ answer =
|
||||
(\num ->
|
||||
someFunction
|
||||
"some argument"
|
||||
num
|
||||
anotherArg
|
||||
someOtherArg
|
||||
)
|
||||
numbers
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user