Fix an unused argument in an FAQ entry

This commit is contained in:
Richard Feldman 2023-10-20 22:58:02 -04:00
parent cd7a031d09
commit 66e47c3293
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B

6
FAQ.md
View File

@ -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
```